In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of converting px to rem by vscode. It is very detailed and has certain reference value. Friends who are interested must finish it!
The px to rem plug-in is selected here. Use the steps:
1. First, install the px to rem plug-in
2. Then, find "px to rem" in "Settings"-> "user Settings"-> "extension".
As shown in the figure:
3. Or configure it directly in setting.json
"px-to-rem.px-per-rem": 75, "px-to-rem.number-of-decimals-digits": 4
4. Finally, edit width:200px in the style file and press the shortcut key ALt+Z to change to width:2.6667rem
Note:
The base value set here is 75 because the default width of the design draft is 750px.
These are all the contents of this article entitled "vscode's method of converting px to rem". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 293
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.