JSFiddle - React, Tailwind, and code Playground

HTML

<div class="comment">
<div class="myLinks">Some Links</div>





  <div class="comment">
    <div class="myLinks">Some Links</div>
  </div></div>

CSS

.comment{
background:red;
    min-height:10px;
    min-width:10px;
}
.myLinks{
    visibility:hidden;
    }

    .comment:hover .myLinks{
    visibility: visible;
    }