vscode plug-in CSS automatically completes the browser prefix--autoprefixer

Plug-in, a god-level plug-in that automatically completes CSS browser prefixesautoprefixer

Search for autoprefixer installation in the extension
Then set the configuration content in settings.json
Insert image description here

"autoprefixer.formatOnSave": true,
    "autoprefixer.browsers": [
        "ie >= 6",  //ie6以上
        "firefox >= 8",
        "chrome >= 24",
        "Opera>=10"
    ],

After the configuration is completed
Return to the .css file or .sass file or .less file, ctrl+shift+p
Select Autoprefix CSS

Guess you like

Origin blog.csdn.net/m0_57611486/article/details/128041646