I have a parent element that sets the font-size
to 0 (zero) and its child that restore the value
.parent {
font-size: 0;
}
.child {
font-size: 1em;
/* font-size: 16px; */
}
Using em
it doesn't work. Using px
as unit makes the text appear again instead.
Can anybody explain me why?