title: make text appear in div when hover over another div
body: <p>I have an "empty" div that I'd like to fill with text when I hover over an element. The text should be different for each element we hover over. </p>
  
  <p>Here's the <a href="https://jsfiddle.net/anteo/gmqr1o0x/" rel="nofollow noreferrer">code</a></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>.text-info{
    height: 50px;
    width: 200px;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .economics{
    height: 100px;
    width: 100px;
    border: 2px solid black;
  }
  .economics:hover{
    background-color: grey
  }
  .workforce{
    height: 100px;
    width: 100px;
    border: 2px solid black;
  }
  .workforce:hover{
    background-color: grey
  }
  
  #economics, #workforce{
    display: none;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="text-info"&gt;
    &lt;p id="economics"&gt;blabla&lt;/p&gt;
    &lt;p id="workforce"&gt;blablabla&lt;/p&gt;
  &lt;/div&gt;
  &lt;div class="economics"&gt;&lt;/div&gt;
  &lt;div class="workforce"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I've tried with css only, to set p's to display: block when hovering over .economics or .workforce, with no result. </p>
  
  <p>Any help will be much appreciated, thanks!</p>