61,115
社区成员
发帖
与我相关
我的任务
分享
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title> 页面名称 </title>
<style type="text/css">
.k {
width: 100%;
height: 50px;
box-shadow: 0px 7px 5px #ccc;
position: relative;
background-color: #fff;
}
.k::before {
content: "";
display: block;
width: 50px;
height: 50px;
background-color: #fff;
position: absolute;
top: 24px;
left: 50%;
margin-left: -28px;
transform: rotate(45deg);
box-shadow: 6px 6px 5px #ccc;
}
</style>
</head>
<body>
<div class="k"></div>
</body>
</html>