<!DOCTYPE html>
<html lang="en">
<head>
<style>
*{
margin: 0;
}
.wrapper{
width: 420px;
height: 280px;
/*pos-f*/
position: fixed;
left: 50%;
top: 50%;
margin-left: -210px;
margin-top: -140px;
border: 1px dashed orange;
border-radius: none;
}
.size1{
width: 150px;
height: 150px;
border: 15px solid black;
border-radius: 50%;
position: absolute;
margin-left: 120px;
}
.red{
border-color: red;
margin-left: 240px;
}
.green{
border-color: green;
margin-left: 190px;
margin-top: 100px;
}
.blue{
border-color: blue;
margin-left: 0px;
z-index: 2;
}
.yellow{
border-color: yellow;
margin-left: 60px;
margin-top: 100px;
z-index: 1;
}
</style>
<meta charset="UTF-8">
<title>五环</title>
</head>
<body>
<div class="wrapper">
<div class="size1 blue"></div>
<div class="size1 "></div>
<div class="size1 red"></div>
<div class="size1 yellow"></div>
<div class="size1 green"></div>
</div>
<br>
<br>
<br>
<br>
</body>
</html>
五环
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。