Home  >  Article  >  Web Front-end  >  css3 border-radius圆角盒子

css3 border-radius圆角盒子

WBOY
WBOYOriginal
2016-06-01 09:53:281766browse

代码如下:
 

<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圆角盒子

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn