JSFiddle - React, Tailwind, and code Playground

by Paul Leech

HTML

<ul>
    <li>list
        <ul>
          <li>li1</li>
          <li>li2</li>
          <li>li2</li>
        </ul>
    </li>
    <li>
        normal item
    </li>
</ul>

CSS

ul li {
    cursor:help;
    color:blue;
}

ul li:not(>ul) {
    cursor:pointer;
    color:red;
}