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
Post a Comment