I am new to development. In figma design I have a div there where top border and bottom border are curved also there is arch in the center of top border of div. I have tried border radius but it does not give me the look like figma design.
Someone suggested me use svg path but it is very complex for me. Can someone suggest me better way of implementing it or svg code to implement this design.
Also I want this to be responsive for mobile screens and tab screens as well.
Figma design
I tried border radius but it does not give the look like figma.
2
Answers
You can try clip-path like that:
Try this: