I have a html structure as below
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
How can I apply styles for like the first 2 items one style and succeeding 2 another style? The 2 divs after the 4th one will have the same styles as 1st two and the patterns goes on.