When I hover over my code, the font style changes. It seems to be related to this line of code:
font: 14px/1.6 "Open Sans",sans-serif;
. However, I need this effect. Is there another way to achieve a similar effect (scaling to 1.2) without modifying this CSS? You can view my code here.
.c-data:hover .liczba{
transform: scale(1.2, 1.2);
}
Here is my HTML:
<div class="u-div">
<div class="c-data">
<span class="liczba"></span>
</div>
</div>