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的结果吗 #1

Open
liicos opened this issue Aug 16, 2018 · 2 comments
Open

可以加一个转vh的结果吗 #1

liicos opened this issue Aug 16, 2018 · 2 comments

Comments

@liicos
Copy link

liicos commented Aug 16, 2018

配置设计稿height , 自动转vh

@liurongqing
Copy link
Owner

px2vw可以适配字体与宽度, 一般高度适配比较少, 如果需要可以自己算一下-_-。
用vscode 插件这种方式转换感觉还是不太好,看不到原始px,就算注释看到了,也不优雅。
建议使用sass或less写个函数来实现更直观点

@liicos
Copy link
Author

liicos commented Oct 29, 2018

是的 , 后面也是用函数做的 , 方便统一修改 ^ ^

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