JSFiddle - React, Tailwind, and code Playground

by joshvogt

HTML

<ul>
      <li>one</li>
      <li>two</li>
      <li>three</li>
      <li>four</li>
      <li>five</li>
      </ul>

CSS

li:nth-child(2n+1){
    color:red;
    }