开发者

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

开发者 https://www.devze.com 2023-03-16 13:30 出处:网络
And which browsers require a prefix: -moz-background-size, -webkit-background-size, and similar? 开发者_如何学Python

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

开发者_如何学Python

Thanks!


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.


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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号