CSS Odd even rows

Use the following CSS code to add a style to odd or even div elements or entries:

.row{

&:nth-child(odd){
  background-color: darken($grey,3%);
 }

&:nth-child(even){
   background-color: darken($grey,30%);
}


}