猿问

css3流式布局中的设计问题?

"When calculating a line-height, the context becomes the font-size of that element."

用的设计公式:target / content = result;

应用:body中使用 font-size:62.5%;(1em = 10px; 即10px / 16px = 62.5%);

为什么上面那句英文说the context becomes the font-size of that element


白板的微信
浏览 846回答 1
1回答

森栏

根本不是文字撑开了div的高度,而是line-height,而line-height是根据font-size设置的
随时随地看视频慕课网APP

相关分类

CSS3
我要回答