MadLittleMods / postcss-css-variables

PostCSS plugin to transform CSS Custom Properties(CSS variables) syntax into a static representation
https://madlittlemods.github.io/postcss-css-variables/playground/
Other
536 stars 62 forks source link

CSS variables features support comparison #65

Closed nolimitdev closed 6 years ago

nolimitdev commented 6 years ago

I have created a simple website that compares which CSS variable features are working with native CSS variables support vs. postcss-custom-properties and vs. postcss-css-variables. Anyone has pros and cons. You always have to think which features you need in your project and choose correct solution. If you need to support just modern browsers (latest Chrome, Firefox, Safari, Edge, excl. IE 11) the best choice is native CSS variables support without post processors plugins which cause many features working wrong. If you need to support older browsers you have to use post processors but you will be very limited what about the features. Owner of this plugin can check it and decide which features can be fixed/supported.

=> CSS variables features support comparison

MadLittleMods commented 6 years ago

Thanks for the overview @nolimitdev 😀

I'll close for now but feel free to make a separate issue for a specific example that isn't supported yet.