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

垂直方向的长度值不可以自动转成vh吗? #164

Open
ys3322 opened this issue Sep 6, 2023 · 0 comments
Open

垂直方向的长度值不可以自动转成vh吗? #164

ys3322 opened this issue Sep 6, 2023 · 0 comments

Comments

@ys3322
Copy link

ys3322 commented Sep 6, 2023

  • 这个插件会把所有像素值自动转成vw,而垂直方向不会转成vh,那么怎么能实现等比例缩放呢?
  • 垂直方向的长度值有:height\line-heiht\top\bottom\margin-bottom等,我的操作是手动调用scss函数,计算垂直方向的长度值,变成vh。
  • 我看到文档上的demo也是自己标识的vh单位,这样才够实现等比例缩放。我感觉未免麻烦些了,不知道各位有什么好方案,可以实现垂直方向像素自动vh?
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

1 participant