JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">   
<html>   
<head>   
<title> New Document </title>   
<style>   
 
#descr {visibility:hidden;} 
div:hover #descr{visibility:visible;} 
 
</style>   
</head>   
  
<body> 
<div onmouseout="info()">наведи 
<div id="descr">asdasd</div>   
</div> 
<script>  
function info(){ 
var el = document.getElementById("descr"); 
var style = el.currentStyle || window.getComputedStyle(el, null); 
if(style.visibility=="hidden") el.innerHTML="пусто"; 
} 
</script>   
</bo