3 ms·
I've come to love autoprefixer[1] on a current project for just this reason. It's a CSS preprocessor that deals with prefixing and property syntax changes acro
by saidajigumi 12y ago
I've come to love autoprefixer[1] on a current project for just this reason. It's a CSS preprocessor that deals with prefixing and property syntax changes across browser versions. Usage:
1. Write unprefixed CSS
2. Tell autoprefixer what browser versions to support
3. It adds the correctly prefixed properties for you
Interestingly, autoprefixer uses the property support data from caniuse.com to determine what prefixes to apply.
[1] More info and link to interactive demo at: https://github.com/postcss/autoprefixer https://github.com/postcss/autoprefixer