您的位置:首页 > 其它

border-radius圆角

2016-05-25 11:14 183 查看
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Document</title>
<style type="text/css">
div{width: 200px;height: 200px;border:1px solid green;margin:20px;}
div:nth-child(1){
width: 200px;
height: 200px;
border: 10px solid green;
border-radius: 50px/20px;
}
div:nth-child(2){
border-radius: 20px;
}
div:nth-child(3){
border-radius: 20px 0;
}
div:nth-child(4){
border-radius: 100px;
}
div:nth-child(5){
border-radius: 50%;
}
div:nth-child(6){
border-radius: 50% 0;
}
div:nth-child(7){
border-radius: 100px 0;
}
div:nth-child(8){
border-radius: 200px 0 0 0;
}
div:nth-child(9){
border-radius: 100px 100px 0 0;
height:100px;
}
div:nth-child(10){
border-radius: 50px;
height:100px;
}
div:nth-child(11){
border-radius:50%;
height:100px;
}
</style>
</head>
<body>
<div></div><div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</body>
</html>




内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: