<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.btn {
width: 100px;
height: 50px;
background-color: teal;
color: white;
text-align: center;
line-height: 50px;
cursor: pointer;
position: relative;
border-radius: 20px 0 20px 0;
}
.btn::after {
content: "";
width: 20px;
height: 20px;
position: absolute;
left: -20px;
bottom: 0;
background: radial-gradient(circle at 0 0, transparent 20px, teal 21px)
}
.btn::before {
content: "";
width: 20px;
height: 20px;
position: absolute;
right: -20px;
top: 0;
background: radial-gradient(circle at 100% 100%, transparent 20px, teal 21px)
}
</style>
</head>
<body>
<div class="btn">
按钮
</div>
</body>
</html>