How widely supported are background-size and background-origin?

爷,独闯天下 提交于 2019-12-11 07:11:24

问题


And which browsers require a prefix: -moz-background-size, -webkit-background-size, and similar?

Thanks!


回答1:


See CanIUse.com for a table showing browser support for this feature for all browsers and versions in common use.

Short answer: IE6/7/8 don't support it. Firefox 3.6 requires -moz- prefix. Older versions of safari might have issues. Everywhere else it should work just fine.




回答2:


See https://developer.mozilla.org/en/CSS/background-size

Chrome supports it directly since 3.0; Firefox since 3.6; IE since 9.



来源:https://stackoverflow.com/questions/6547916/how-widely-supported-are-background-size-and-background-origin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!