CSSLayout color rows


in my app I have a CSSLayout to show Articles like in a Onlineshop with Picture and Text.

For Every article I have a own CustomComponent which is then added to the CSSLayout.

The result is that the Browser is automatically calculating how much of my articles fit into a row before make a line break.

That´s all fine.

Now I want to color each CSSLayout row to get the same effect how table looks like when striping the rows.

How to achieve this?

Thank you