61,112
社区成员
发帖
与我相关
我的任务
分享
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title> 页面名称 </title>
<style type="text/css">
#div1 {
width: 100px;
height: 100px;
background-color: #f00;
border-radius: 0 50% 0 50%;
margin: 10px;
float: left;
}
#div2 {
width: 100px;
height: 100px;
background-color: #ff0;
border-radius: 50% 0 50% 0;
margin: 10px;
float: left;
}
#div3 {
width: 100px;
height: 100px;
background-color: #00f;
border-radius: 50% 0 50% 0;
margin: 10px;
float: left;
clear: left;
}
#div4 {
width: 100px;
height: 100px;
background-color: #060;
border-radius: 0 50% 0 50%;
margin: 10px;
float: left;
}
</style>
</head>
<body>
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="div4"></div>
</body>
</html>