this is my button design and i want to create using only css.
"I tried using clip-path, and it works, but I want to create it using only CSS. Any suggestions would be appreciated…"
clip-path that i use:clip-path: polygon(0% 32.4%, 88% 1%, 88% 98%, 1% 78.43%);
2
Answers
use border-radius to create circular or oval shapes by rounding the corners of the button. after that Pseudo-elements (::before,::after), adding extra shapes to the button by creating additional layers that can be styled separately from the main element. Then Use borders to create triangles or other custom shapes by setting specific borders to transparent and one side to a solid color. You can combine these to create shapes without clip-path.
You can try
perspective
property and rotateY()Something like that.