div.div-striped div.row:nth-of-type(odd) { background: #e0e0e0; } div.div-striped div.row:nth-of-type(even) { background: #FFFFFF; }