mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-10-06 11:29:58 +08:00
Update README.md
fix typo
This commit is contained in:
parent
0e8f5941b5
commit
4e7f4fd575
@ -170,7 +170,7 @@ module.exports = {
|
|||||||
**新手必看,老鸟跳过**
|
**新手必看,老鸟跳过**
|
||||||
|
|
||||||
很多小伙伴会问我,适配的问题,因为我们使用的是 Vant UI,所以必须根据 Vant UI 375 的设计规范走,一般我们的设计会将 UI 图上
|
很多小伙伴会问我,适配的问题,因为我们使用的是 Vant UI,所以必须根据 Vant UI 375 的设计规范走,一般我们的设计会将 UI 图上
|
||||||
传到蓝湖,我们就可以需要的尺寸了。下面就大搞普及一下 rem。
|
传到蓝湖,我们就可以需要的尺寸了。下面就大概普及一下 rem。
|
||||||
|
|
||||||
我们知道 `1rem` 等于`html` 根元素设定的 `font-size` 的 `px` 值。Vant UI 设置 `rootValue: 37.5`,你可以看到在 iPhone 6 下
|
我们知道 `1rem` 等于`html` 根元素设定的 `font-size` 的 `px` 值。Vant UI 设置 `rootValue: 37.5`,你可以看到在 iPhone 6 下
|
||||||
看到 (`1rem 等于 37.5px`):
|
看到 (`1rem 等于 37.5px`):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user