Fandom

Wikia Developers Wiki

Autoprefixer

889pages on
this wiki
Add New Page
Talk0 Share

Autoprefixer is a tool that adds all necessary vendor prefixes to your CSS. It's a plugin to PostCSS. It uses Can I use as a source of data about what vendor prefixes to add. That means you can stop worrying and tracking what prefixes should you use now, you can just set up the tool and forget about prefixes whatsoever. You can read more about it on:

@Wikia

At Wikia, we use this tool in our mobile skin and we match Can I Use configuration with our Supported Browsers. That means we can write less CSS and be sure that we do support all major browsers.

Example

a {
    display: flex;
}

compiles to:

a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.