JSFiddle - React, Tailwind, and code Playground
HTML
<ol>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
</ol>
CSS
ol>li:nth-child(odd){
font-weight:bold;
}