Better autoprefixer
See original GitHub issueWe’re using Glamor’s one which is fine but requires us to mangle our css-properties
into { cssProperties }
and back, as well as track mutations in the object and inject more postCSS nodes. What I’d like is to translate the rules that Glamor uses (which itself is vendored from https://www.npmjs.com/package/auto-prefixer) or, preferably, inline-style-prefixer/static into simple PostCSS instructions.
For the record, if there was a way to cut down postcss/autoprefixer to be small enough to include as part of Styled Components, that’d be fine too.
Issue Analytics
- State:
- Created 7 years ago
- Comments:20 (11 by maintainers)
Top Results From Across the Web
postcss/autoprefixer: Parse CSS and add vendor prefixes to ...
Autoprefixer Cult Of Martians · PostCSS plugin to parse CSS and add vendor prefixes to CSS rules using values from Can I Use....
Read more >Autoprefixer: A Postprocessor for Dealing with Vendor ...
Autoprefixer parses CSS files and adds vendor prefixes to CSS rules ... To avoid doing the same job again and again, it is...
Read more >Autoprefixer CSS online
Autoprefixer is a PostCSS plugin which parses your CSS and adds vendor prefixes. ... More details on the syntax are in the documentation....
Read more >Autoprefixer vs Less | What are the differences? - StackShare
Autoprefixer - PostCSS plugin to parse CSS and add vendor prefixes to CSS rules. Less - The dynamic stylesheet language.
Read more >Use Autoprefixer for browser compliant code - OpenClassrooms
“Autoprefixer” is a plugin that can save you from the monotony of -webkit- and -moz- . It does exactly what it sounds like:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not too fussed about just adding all reasonable prefixes no matter the browser.
Sure, it doesn’t help, but instead of having three hundred lines of logic to determine which prefixes to add based on a user agent string I’d much rather just inject thirty lines of unnecessary CSS.
We now use
inline-style-prefixer
(as of #208 being merged, not yet released), can we close this @geelen?