从css3 border-radius中删除-webkit厂商前缀是否安全? [英] Is it safe to drop the -webkit vendor prefix from the css3 border-radius yet?

查看:108
本文介绍了从css3 border-radius中删除-webkit厂商前缀是否安全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道在Chrome 9的某些版本中,圆角现在倾听 border-radius



我很好奇,并在其他浏览器/操作系统组合上尝试过,发现以下webkit浏览器支持非供应商 border-radius




  • Windows 7上的Chrome 9.0.597.98
  • Chrome 9.0.597.102 mac osx(雪豹)
  • Windows 7上的Safari 5.0.3
  • mac osx上的Safari 5.0.3(雪豹)



随着Chrome的自动后台更新到位,用户很少会运行旧版本,除非特别需要。



所以我的问题是,是否终于安全为css3 border-radius

放置 -webkit h2_lin>解决方案

是的,我认为可以放弃它。 https://developer.mozilla.org/zh/css/-moz-border-radius

 最低版本为前缀border-radius
Safari | Chrome | WebKit
5.0 | 4.0 | 532.5

因此,如果您不关心运行旧版Safari / Chrome浏览器。



Safari浏览器/ Chrome浏览器的老版本并不是很多用户 - 这些浏览器不是IE浏览器,有些老版本有时会被IE浏览器占用。



运行这些浏览器的用户通常足够精明地进行更新,Safari和Chrome都积极地尝试自我更新(Chrome甚至会自动更新)。



另外, http://css3generator.com/ 已将其删除。 (谷歌搜索结果为css3 generator)


I knew that as of some release of Chrome 9 that rounded corners now listen to border-radius.

I got curious and tried it on some other browser/OS combinations and found that the following webkit browsers support the non vendor border-radius.

  • Chrome 9.0.597.98 on windows 7
  • Chrome 9.0.597.102 mac osx (snow leopard)
  • Safari 5.0.3 on windows 7
  • Safari 5.0.3 on mac osx (snow leopard)

With Chrome's automatic background updating in place it's rare for users to be running older versions unless specifically required.

So my question is, is it finally safe to drop the -webkit vendor prefix for css3 border-radius ?

解决方案

Yes, I believe it's safe to drop it.

See: https://developer.mozilla.org/en/css/-moz-border-radius

Lowest version for unprefixed "border-radius"
Safari | Chrome | WebKit  
5.0    | 4.0    | 532.5

So, it's safe to drop if you don't care about users running older versions of Safari/Chrome.

Not many users are running old versions of Safari/Chrome - these browsers aren't IE, where older versions are sometimes clung to for aeons.

Users running these browsers are often savvy enough to update, and both Safari and Chrome aggressively try to update themselves (Chrome even does it automatically).

Also, http://css3generator.com/ has dropped it. (the top Google result for "css3 generator")

这篇关于从css3 border-radius中删除-webkit厂商前缀是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆