Does the pixel value of a font-size refer to the height of the font or the width of the font?
CSS:
.sixteen {
font-size: 16px;
}
HTML:
<span class='sixteen'>a</span>
Will the "a" be 16 pixels tall or 16 pixels wide, or is that like a max-width/height on both so that the entire character fits in a 16px box?
All the documentation I have seen for this has been ambiguous on the matter.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…