JSFiddle - React, Tailwind, and code Playground

HTML

<div class="menu ">
    <ul>
        <li>This is uppercase red
            <ul>
                <li>this should not be uppercase or red</li>
                <li>this should not be uppercase or red</li>
                <li>this should not be uppercase or red</li>                
            </ul>
        </li>

        
    </ul>
</div>

CSS

.menu > ul > li {
    text-transform:uppercase;
    color:red;
    border-bottom:3px solid red;
    font-size:10px;
}