css
weixin_42802749
这个作者很懒,什么都没留下…
展开
-
js设置HTML标签的font-size大小实现页面适配
js设置HTML标签的font-size大小实现页面适配/*响应式布局 start*/ function setRootFontSize() { var width = document.documentElement.clientWidth || document.body.clientWidth, fontSize; if (width > 54...原创 2019-09-29 13:48:28 · 5391 阅读 · 0 评论 -
CSS适应各种分辨率
CSS适应各种分辨率html{font-size:10px}@media screen and (min-width:321px) and (max-width:375px){html{font-size:11px}}@media screen and (min-width:376px) and (max-width:414px){html{font-size:12px}}@media s...原创 2019-09-29 14:05:54 · 745 阅读 · 0 评论