Hacker News new | comments | show | ask | jobs | submit login

Or use Bourbon mixins (http://bourbon.io/docs/) if you use SASS.



SASS mixins are great, but Autoprefixer is better for prefixes: it looks the same as writing actual CSS (just with no prefixes) and has no cognitive overhead during editing. Compare the Bourbon mixin:

    @include background(linear-gradient(red, green) left repeat);
to autoprefixer:

    background: linear-gradient(red, green) left repeat;


AAAAaaand we're back to 7 solutions to a simple problem


How so? Autoprefixer allows you to just write spec CSS and let it worry about prefixes.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: