您好朋友,我想知道是否有任何方法可以避免CSS3中的Firefox兼容性和chrome重复,因为我们需要重复输入-moz- and -webkit-以获得兼容性。是否可以以任何方式在页面中只写一次?

最佳答案

使用prefixfree

-prefix-free lets you use only unprefixed CSS properties everywhere. It works behind the scenes, adding the current browser’s prefix to any CSS code, only when it’s needed.

CDN link

Live DEMO on dabblet.com

关于css - 如何避免重复使用-moz-或-webkit-?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/26099351/

10-12 14:14
查看更多