html {font-size: 62.5%;/10 ÷ 16 × 100% = 62.5%/}
body {font-size: 1.4rem;/1.4 × 10px = 14px /}
p { font-size: 1.8rem;/2.4 × 10px = 24px/}
html {font-size: 62.5%;/10 ÷ 16 × 100% = 62.5%/}
body {font-size: 1.4rem;/1.4 × 10px = 14px /}
p { font-size: 1.8rem;/2.4 × 10px = 24px/}
本文标题:css3 rem的计算
本文链接:https://www.haomeiwen.com/subject/jdkfdttx.html
网友评论