title: How do I style the background color of alternating table rows?
body: <p>I was was just wondering how to get this kind of design done when things are fetched dynamically? I mean there has to be only one class which can be used to get the background colour depending upon whether block is odd or even. I hope my requirements are clear: background color varying with the odd or even number for the rows.</p>
  
  <p><img src="https://i.stack.imgur.com/ICjMJ.jpg" alt="alt text"></p>