<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.wrap{
width:200px;
height: 100px;
border: 1px solid black;
margin: 100px auto;
border-radius: 50%;
border-bottom-width: 100px;
}
.left{
width: 20px;
height: 20px;
background-color:white;
border-radius: 50%;
border: 40px solid black;
margin-top: 50px;
}
.right{
width: 20px;
height: 20px;
background-color:black;
border-radius: 50%;
border: 40px solid white;
margin-top: -100px;
margin-left: 100px;
}
</style>
</head>
<body>
<div class="wrap">
<div class="left"></div>
<div class="right"></div>
</div>
</body>
</html>
html和css生成太极图
于 2023-10-16 19:55:28 首次发布