JSFiddle - React, Tailwind, and code Playground

by 규연 황

HTML

<ul>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
  <li>01</li>
</ul>

CSS

ul li:nth-child(3n+0) {
  background : red;
}