پیشنمایش زنده
کد HTML
<button>Suscribe</button>
کد CSS
button {
min-height: 53px;
min-width: 166px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: distribute;
justify-content: space-around;
position: relative;
cursor: pointer;
background: -webkit-gradient(
linear,
left top,
right top,
color-stop(-12.74%, rgba(255, 172, 211, 0.5)),
color-stop(56.76%, rgba(255, 172, 211, 0.25))
);
background: linear-gradient(
90deg,
rgba(255, 172, 211, 0.5) -12.74%,
rgba(255, 172, 211, 0.25) 56.76%
);
border: 2px solid #ffacd3;
color: #ffffff;
font-size: 18px;
font-weight: 600;
}
button:before {
content: "";
width: 4px;
height: 28px;
background: #19173b;
border: 2px solid #ffacd3;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
position: absolute;
border-top: 0;
border-left: 0;
border-bottom: 0;
bottom: -7px;
left: 4px;
border-bottom-left-radius: 10px;
border-top-left-radius: 10px;
}
button:after {
content: "";
position: absolute;
left: -2px;
bottom: -2px;
border-top: 15px solid transparent;
border-left: 15px solid #fffcf7;
}