I want to style the button with a straight cut bottom right corner but I got the problem. the problem is when I use clip-path in css the after pseudo-elements disappear
My button:
What I want:
I used clip-path but the after pseudo-elements disappear
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@500;700&display=swap');
body {
height: 100vh;
background-color: rgba(8, 41, 85, 1);
display: flex;
align-items: center;
justify-content: center;
}
.button-52 {
clip-path: polygon(100% 0, 100% 69%, 92% 100%, 0 99%, 0 0);
font-family: "Noto Sans Lao";
padding: .5rem 2rem;
font-weight: bold;
font-size: 16px;
font-weight: 200;
letter-spacing: 1px;
outline: 0;
border: none;
cursor: pointer;
position: relative;
background-color: #fff;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
transition: ease-in .2s;
}
.button-52:after {
content: "";
background-color: transparent;
border: 3px solid #fff;
width: 95%;
z-index: -1;
position: absolute;
height: 95%;
bottom: 4px;
right: 8px;
}
.button-52:hover {
transform: scale(1.07)
}
<button class="button-52" role="button">ຂໍ້ມູນເພີ່ມເຕີມ</button>


