Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unocss单位转换规则是什么 #58

Open
lzdml opened this issue Jun 21, 2024 · 1 comment
Open

unocss单位转换规则是什么 #58

lzdml opened this issue Jun 21, 2024 · 1 comment

Comments

@lzdml
Copy link

lzdml commented Jun 21, 2024

image
为什么h-480是251px

@Allen-1998
Copy link
Collaborator

Allen-1998 commented Jun 22, 2024

h-480 对应 height: 480rpx; 转换规则见 https://github.com/ttk-cli/uni-vue3-vite-ts-pinia/blob/main/preset-rem-to-rpx.ts 这里显示 251px 应该是开发者工具自动转换的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants