【问题标题】:why Border radious is not supporting to chrome and IE10. can you give any solution please为什么边框半径不支持 chrome 和 IE 10。请您提供任何解决方案
【发布时间】:2013-03-27 07:22:41
【问题描述】:

为什么 Border Radius 不支持 chrome 和 IE10。你能给出任何解决方案吗?请我的代码

/* Rounded Corner */
.tb5 {

    border-radius:10px;
    height: 18px;
    width: 230px;
     border: 3px solid #BADA55;

     /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 12px; 

  /* Firefox 1-3.6 */
  -moz-border-radius: 12px; 

  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 12px; 

}

【问题讨论】:

标签: css stylesheet


【解决方案1】:

即使没有前缀 (source),也应该可以在每个浏览器的最新版本中正常工作。你确定你的目标是正确的 HTML 元素吗?

<div class="tb5">
    <p>Something here...</p>
</div>

【讨论】:

    【解决方案2】:

    请尝试-ms-border-radius:12px;

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-08
    • 2017-10-26
    • 2011-07-16
    • 1970-01-01
    • 2022-06-26
    • 1970-01-01
    相关资源
    最近更新 更多