JSFiddle - React, Tailwind, and code Playground
by Kai
HTML
<li><a href=”#”>News</a>
<ul>
<li><a href=”#”>Press Releases</a></li>
<li><a href=”#”>News Articles</a></li>
<li><a href=”#”>Photo Gallery</a></li>
<li><a href=”#”>Official Blog</a></li>
</ul>
</li>
test
CSS
li ul {
opacity: 0;
position: absolute;
background: #eee;
-webkit-transition: all 0.2s linear;
}
li:hover ul {
opacity: 1;
}