0
My question is this: I have a column with a text and an icon, I need that when the mouse is on top of the column both the text and the icon change color, follow the HTML:
.features .round-icon {
  border: 4px solid #1c1c1c;
  border-radius: 50%;
  display: table;
  height: 100px;
  width: 100px;
  font-size: 3.6rem;
}
.features .round-icon span {
  color: #1c1c1c;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
#numeros-coluna2:hover{background-color:#ffc600;}<div class="row features">
  <div class="medium-2 columns border-direita" id="numeros-coluna2">
    <span class="numeros">5MIL</span>
    <div class="round-icon medium-offset-2">
      <span class="fi-dollar"></span>
    </div>
  </div>
</div>
Rodolpho, you can add the question CSS ?
– David
Just apply the
hoverto the parent element.– Woss
Applies the
hoverto thatdiv > #numeros-coluna2– Douglas Garrido
Yes, that div is with the Hover, text changes the color, but the icon does not
– Rodolpho Zoid
Not with the CSS you posted.
– Woss
added, in case the 5MIL and icone need to be white
– Rodolpho Zoid