【问题标题】:What is the css code to make my corners rounded? [duplicate]使我的角变圆的css代码是什么? [复制]
【发布时间】:2011-08-12 03:58:23
【问题描述】:

可能的重复:
CSS Rounded corners.
What is the best way to create rounded corners using CSS?

有人可以给我css代码来使我的角落变得圆润吗?请...

【问题讨论】:

    标签: css


    【解决方案1】:
    .round {-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #EEFF99;
    behavior: url(/PIE.htc);
    

    http://css3pie.com/

    【讨论】:

      【解决方案2】:

      这适用于大多数现代浏览器

      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      

      http://border-radius.com/

      【讨论】:

        【解决方案3】:

        为不支持更高 CSS 的浏览器使用圆角图像以实现向后兼容性

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 2012-12-07
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2012-09-29
          相关资源
          最近更新 更多