具体代码:
<!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>无标题文档</title>
<style type="text/css">
div{
width: 100px;
height: 100px;
background-color: transparent;
border: 10px solid ;
border-radius: 110px;
}
.a1{
border-color: blue;
}
.a2{
border-color:black;
margin-top: -120px;
margin-left: 130px;
}
.a3{
border-color: yellow;
margin-top: -120px;
margin-left: 260px;
}
.a4{
border-color: red;
margin-top:-60px;
margin-left: 55px;
}
.a5{
border-color: green;
margin-top: -120px;
margin-left: 185px;
}
</style>
<body>
<div class="a1"></div>
<div class="a2"></div>
<div class="a3"></div>
<div class="a4"></div>
<div class="a5"></div>
</body>
</html>
欢迎大家参考哦