首頁  >  文章  >  web前端  >  css3 border-radius圆角盒子

css3 border-radius圆角盒子

WBOY
WBOY原創
2016-06-01 09:53:281715瀏覽

代码如下:
 

<code><style>
.radius{
    -moz-border-radius: 15px;      /* 火狐浏览器 */
    -webkit-border-radius: 15px;   /* 谷歌浏览器 */
    border-radius:15px; 
    width:300px;
    height:300px;
    background:#4ca2d1;
}
</style>
<div class="radius"></div>
</code>


如下图:

css3 border-radius圆角盒子

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn