JSFiddle - React, Tailwind, and code Playground

by Laurent Dufour

HTML

<span class="item-level-deux">Premier item</span>
<table>
  <tr>
    <td>sous menu</td>
    <td>sous menu</td>
    <td>sous menu</td>
  </tr>
</table>

CSS

table {
  display:none;
}

span:hover + table {
  display:block;
}