title: How can I target the element I'm hovering on and not all the list hierarchy in css
body: <p>I would like to show the <em>"Icon"</em> when I hover on every item independently. The problem is that whenever I hover on a child item the parent is also showing its icon. </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>.list {
    width: 150px;
    height: 19px;
  }
  .list &gt;.item {
    background-color: #c3c3c3;
    display: block;
    margin-bottom: 40px;
    margin-top: 12px;
    border: 1px solid black;
    color: white;
    height: 30px;
  }
  .list .item .content {
    position: relative;
    width: 100px;
    float: left;
    display: block;
  }
  .list .item .actions {
    position: relative;
    color: red;
    visibility: hidden;
  }
  .list .item:hover .actions {
    visibility: visible;
    cursor: pointer;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ol class="list"&gt;
    &lt;li class="item"&gt;
      &lt;div class="content"&gt;
        &lt;span&gt;1- Hi...&lt;/span&gt;
      &lt;/div&gt;
      &lt;div class="actions"&gt;
        &lt;span class="icon"&gt;Icon 1&lt;/span&gt;
      &lt;/div&gt;
      &lt;ol class="list"&gt;
        &lt;li class="item"&gt;
          &lt;div class="content"&gt;
            &lt;span&gt;a- Hi 2...&lt;/span&gt;
          &lt;/div&gt;
          &lt;div class="actions"&gt;
            &lt;span class="icon"&gt;Icon 2&lt;/span&gt;
          &lt;/div&gt;
        &lt;/li&gt;
      &lt;/ol&gt;
    &lt;/li&gt;
    &lt;li class="item"&gt;
      &lt;div class="content"&gt;
        &lt;span&gt;2- Hi 3...&lt;/span&gt;
      &lt;/div&gt;
      &lt;div class="actions"&gt;
        &lt;span class="icon"&gt;Icon 3&lt;/span&gt;
      &lt;/div&gt;
    &lt;/li&gt;
  &lt;/ol&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How can I achieve this with CSS?</p>