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 ;)
It's nice to have options :)
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
Have a fresh tip? Share with Coderwall community!
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside