How vscode converts px to rem
Dec 30, 2019 am 09:49 AMThe px to rem
plug-in is selected here. The steps to use are:
1. First, install the px to rem plug-in;
2. Then, find [px to rem] in Settings->User Settings->Extensions;
As shown:
3. Or configure
"px-to-rem.px-per-rem": 75, "px-to-rem.number-of-decimals-digits": 4,
directly in setting.json 4. Finally, edit width: 200px in the style file, and press the shortcut key ALt Z to convert it to width: 2.6667rem;
Note:
The base value set here is 75, because the default width of the design draft is 750px.
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How vscode converts px to rem. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to view word documents in vscode How to view word documents in vscode

How to draw a flow chart with vscode_How to draw a flow chart with visual_studio code

How to write Maude in Vscode_How to write Maude in Vscode

Caltech Chinese use AI to subvert mathematical proofs! Speed up 5 times shocked Tao Zhexuan, 80% of mathematical steps are fully automated

How to enable background updates in vscode How to enable background updates in vscode

How to add files to vscode workspace How to add files to vscode workspace

How to disable wsl configuration file in vscode How to disable wsl configuration file in vscode

How to set animation smooth insertion in VScode VScode tutorial to set animation smooth insertion
