Answer the question
In order to leave comments, you need to log in
Why does the autoprefixer add a prefix for box-shadow?
Good afternoon!
Tell me, why, when executing the gulp command, does the autoprefixer add -webkit- for box-shadow, if Can I Use says that it is supported by all browsers? Should I use prefixes, relying on it or remove it? It also depends on the size of the file.
And another question, which is better to use: vscode plugins or a package for gallp? for the same autoprefixer and csscomb
Answer the question
In order to leave comments, you need to log in
The autoprefixer works based on a setting in webpack or gulp that specifies which browser versions you support. And he needs can i use in order to find out if it is necessary to specify a prefix to the properties for the specified version of the browser. Either put the bolt down, because there's nothing wrong with that, or just provide a list of browser versions that don't need prefixes.
Answering the 2nd question, it is better to use plugins for gallp or webpack. The reason is simple, your build template will work independently of any editor and anyone can easily use all the features of your build by running the 1st npm install command, and you can change the editor in which you will re-install your plugins.
if it says Can I Use
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question