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

css3 border-radius圆角盒子

WBOY
Release: 2016-06-01 09:53:28
Original
1782 people have browsed it

代码如下:
 

<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>
Copy after login


如下图:

css3 border-radius圆角盒子

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template