Below is my html code
<ul class="tabs">
<li class="rotate"><a href="#tab1" class = "nororate" >One</a></li>
<li class="rotate"><a href="#tab2" class = "nororate">Two</a></li>
</ul>
And Below is css code
.rotate {
transform: perspective(5px) rotateX(2deg);
}
I want to rotate only li tag but not to rotate a tag, I have tried :not and > to prevent a tag be rotated but failed.
How can I do this?