title: CSS display a text or label when hover
body: <p>I am attempting to create a menu that when user hover into it a label or text will appear on the right side, i manage to create a simple effect using below code. but i am lost with how can i make a label appear when hover.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#side-menu {
  background-color : black;
  color:white;
  width:80px;
  padding:20px;
  list-style:none;
  }
  
  #side-menu:hover {
   width: 400px !important; 
   display:inline-block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/&gt;
  
  
  &lt;ul id="side-menu"&gt;
          &lt;li&gt;
               &lt;i class="fa fa-image fa-2x" style="margin-left:17px;"&gt;&lt;/i&gt;     
          &lt;/li&gt;
      &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My goal is to display a label or text on the right side when hover, any suggestions to achieve this? this so far below is my code. thanks in advance!</p>
  
  <pre><code>&lt;li&gt;&lt;i class="fa fa-image fa-2x" style="margin-left:17px;"&gt;&lt;/i&gt; &lt;span class='label-menu'&gt; Product Image &lt;span&gt;&lt;/li&gt;
  
  .label-menu{
  display:none;
  }
  </code></pre>