CSS中rem单元的用途是什么? [英] What is use of rem unit in CSS?

查看:75
本文介绍了CSS中rem单元的用途是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道rem单位的计算。但是我想使用rem单位以及其他字体大小我们在网页中使用rem单位?



我尝试了什么:



I know calculation of rem units.But i want to uses of rem units as well as other then font size where we use the rem unit in web pages?

What I have tried:

I know calculation of rem units.But i want to uses of rem units as well as other then font size where we use the rem unit in web pages?

推荐答案

请看这里:了解和使用CSS中的rem单位 - SitePoint [ ^ ]

这里: CSS rem单元比字体大小更多CSS-Tricks [ ^ ]

这里:为什么你应该使用基于Rem的布局 [ ^ ]
See here: Understanding and Using rem Units in CSS — SitePoint[^]
And here: There’s more to the CSS rem unit than font sizing | CSS-Tricks[^]
And here: Why You Should Be Using Rem-Based Layouts[^]


这篇关于CSS中rem单元的用途是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆