除了canvas css能否实现
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.box {
width: 300px;
height: 200px;
position: relative;
transform: rotate(-15deg);
}
.c1 {
position: absolute;
left: 30px;
top: 50px;
width: 100px;
height: 100px;
border: 3px solid black;
border-radius: 50%;
clip: rect(auto 80px auto auto);
}
.c2 {
position: absolute;
left: 90px;
top: 40px;
width: 120px;
height: 120px;
border: 3px solid black;
border-radius: 50%;
clip: rect(auto auto auto 20px);
}
</style>
</head>
<body>
<div class="box">
<div class="c1"></div>
<div class="c2"></div>
</div>
</body>
</html>