JSFiddle - React, Tailwind, and code Playground
HTML
<dl>
<dt>foo</dt>
<dd>bar</dd>
<dt>foo</dt>
<dd>bar</dd>
<dt>foo</dt>
<dd>bar</dd>
</dl>
CSS
dl { color: blue }
dd:nth-child(odd) { color:green }
dd:nth-child(even) { color:red }