一、代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
body{
margin: 0;
}
div{
border-radius: 50%;
width: 100px;
height: 100px;
position: relative;
}
#div1{
border: 5px solid blue;
}
#div2{
border: 5px solid black;
bottom: 110px;
left: 110px;
}
#div3{
border: 5px solid red;
bottom: 220px;
left: 220px;
}
#div4{
border: 5px solid orangered;
bottom: 270px;
left: 55px;
}
#div5{
border: 5px solid greenyellow;
bottom: 380px;
left: 165px;
}
</style>
</head>
<body>
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="div4"></div>
<div id="div5"></div>
</body>
</html>
二、效果预览
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/e015a5a3d82af94999c36fec48c04d0d.jpeg)