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

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


根本不是文字撑开了div的高度,而是line-height,而line-height是根据font-size设置的

【热门文章】
【热门文章】