Angled Div Shape(Slanted) border Issue
I was trying to design this shape(https://postimg.cc/gnJLQv5y) , one side slanted. but the border of the angled side not showing,, Ai cant help here. Can anyone help? Thanks.. I used this code: .slanted-edge { --p: 70px; position: relative; height: 180px; aspect-ratio: 1; clip-path: polygon(0 0,100% 0,calc(100% - var(--p)) 100%,0 100%); background: #fef0f0; }

I was trying to design this shape(https://postimg.cc/gnJLQv5y) , one side slanted. but the border of the angled side not showing,, Ai cant help here. Can anyone help? Thanks..
I used this code:
.slanted-edge {
--p: 70px;
position: relative;
height: 180px;
aspect-ratio: 1;
clip-path: polygon(0 0,100% 0,calc(100% - var(--p)) 100%,0 100%);
background: #fef0f0;
}