<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.box:before {
display: block;
width: 60px;
height: 60px;
content: "搞起";
border-radius: 50%;
background-color: #72ffb5;
color: #ff3520;
text-align: center;
line-height: 60px;
}
.box:after {
display: block;
width: 0;
height: 0;
content: "";
border: 30px solid transparent;
border-top: 60px solid #72ffb5;
margin-top: -25px;
}
</style>
</head>
<body>
<div class="box"></div>
</body>
</html>
CSS钉子效果
最新推荐文章于 2023-09-04 10:37:31 发布