A CSS value of px to the REM value of the sublime Text 3 AutoComplete plugin.
The plugin effect is as follows:
Installation
- Cloning a project Https://github.com/hyb628/cssrem.git
- Go to Packages directory: Sublime Text--Preferences, Browse Packages ...
- Copy the downloaded Cssrem directory into the Packges directory just now.
- Restart Sublime Text.
Configuration Parameters
parameter profiles: Sublime Text, Preferences, package Settings, Cssrem
- Px_to_rem -px to REM unit ratio, default is 40.
- max_rem_fraction_length -px to rem maximum length of the number of parts. The default is 6.
- available_file_types -Enables the file type of this plug-in. The default is: [". css", ". Less", ". Sass"].
- I modified the unit scale to 100 in the config file cssrem.sublime-settings.
- The specific proportion of the parameters or to see the individual transduction how to set the parameters to prevail.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
PX value to REM value Sublime Text 3 auto-Complete plugin