<!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">
<title>Document</title>
<style>
.blockOut {
width: 195px;
height: 195px;
position: relative;
overflow: hidden;
transform: rotate(45deg);
margin-top: -36px;
}
.block {
width: 310px;
height: 310px;
border-radius: 50%;
border-left: 14px solid rgba(65, 225, 250, 1);
border-top: 14px solid rgba(65, 225, 250, 1);
border-right: 14px solid rgba(255, 192, 203, 0);
border-bottom: 14px solid rgba(255, 192, 203, 0);
box-sizing: border-box;
position: absolute;
top: 11%;
right: -70%;
}
.rotate1{
transform:rotate(-77deg);
}
body{
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body>
<div class="blockOut">
<div class="block rotate1"></div>
</div>
</body>
</html>
div写扇形进度条
最新推荐文章于 2024-03-27 21:00:11 发布