No more CSS Prefixes
If you're like me and hate writing -webkit-this or -moz-that in your CSS, then I recommend you stick this in your <head>:
<script src="//cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
It will automatically add any needed CSS prefixes depending on the browser, nice!
More info here: http://leaverou.github.com/prefixfree/
Written by Jon Abrams
Related protips
3 Responses
Well I never had to worry about vendor prefixes again since I moved to Less and Sass. It was 2 years ago ;)
over 1 year ago
·
It's nice to have options :)
over 1 year ago
·
autoprefixer does pretty much that without the need to make the end-user send an extra http request and waste some computing time. Still good to know I guess :p
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#