CSS 相对单位
cssweb developmentfront end technology更新于 2024/2/10 21:32:17
在相对单位中,长度值是固定的,并且会显示元素的准确大小。让我们看看这些单位:
| 单位 | 缩写 |
|---|---|
| Percent | % |
| Em | Em |
| Ex | Ex |
| Root em | Rem |
| Viewport width | Vw |
| Viewport width | Vh |
| Viewport width | Vm |
| Character | Ch |
Grid | Gd |
相关文章
有用资源
css 参考教程 - 该教程包含有关 css 的更多信息:https://www.cainiaomax.com/css/

