css3 - Avoid vendor specific prefixes in CSS -


looking method avoid vendor specific prefixes while writing css, unnecessarily lengthens css file. while using transforms have write following code

transform:rotate(90deg); -moz-transform:rotate(90deg); -webkit-transform:rotate(90deg); -o-transform:rotate(90deg); -ms-transform:rotate(90deg); 

all 5 lines same thing different browsers. way avoid it?

a javascript based solution http://leaverou.github.io/prefixfree/

-prefix-free lets use unprefixed css properties everywhere. works behind scenes, adding current browser’s prefix css code, when it’s needed.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -