代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>wuhuan</title>
<style>
*{
margin: 0;
padding: 0;
}
div{width:200px;
height:200px;
border:10px solid red;
border-radius:50%;
}
#black{border-color:black;
margin-left:220px;
margin-top:-220px;}
#green{border-color:green;
margin-left:440px;
margin-top:-220px;}
#yellow{border-color:yellow;
margin-left:110px;
margin-top:-110px;}
#blue{border-color:blue;
margin-left:330px;
margin-top:-220px;}
</style>
</head>
<body>
<div ></div>
<div id="black"></div>
<div id="green"></div>
<div id="yellow"></div>
<div id="blue"></div>
</body>
</html>