Is there any tool that can automatically add prefixes to css3 styles? It should be the simplest one and does not know sass less
習慣沉默2017-05-16 13:29:26
Webstorm has the function of automatically adding prefixes, which can be set according to needs (webstorm is relatively heavy-duty, you can choose an ide such as sublimetext, and then install the autoprefixer plug-in)
高洛峰2017-05-16 13:29:26
For editors: Look for the autoprefixer plug-in, which can automatically add some compatibility prefixes when you save
The rest has to be coordinated with some front-end tools. It should be the easiest to start with the editor.
PHP中文网2017-05-16 13:29:26
You can search for the autoprefixer plug-in. There are installation tutorials all over the Internet
巴扎黑2017-05-16 13:29:26
I use Autoprefixer under sublime, but I need to set up a node environment first. When entering, remember to set the shortcut Key Bindings
[
{ "keys": ["ctrl+alt+shift+p"], "command": "autoprefixer" }
]
Select the code to be prefixed and press the shortcut key
It was also installed just now