<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>镂空</title>
<style>
.outBox{
height:300px;
width:300px;
background: transparent;
overflow: hidden;
}
.inBox{
width: 120px;
height: 120px;
border-radius: 50%;
box-shadow: rgba(0,0,0,.5) 0 0 0 3000px;
z-index: 2;
}
</style>
</head>
<body>
<div class="outBox">
<div class="inBox"></div>
</div>
</body>
</html>
css实现中间镂空效果
最新推荐文章于 2024-09-19 15:03:56 发布
关键词由CSDN通过智能技术生成