0

I’m trying to create a header layout with a specific curved shape.

mario kart header

The small squares are SVGs, but I can’t reproduce the curved blue border using CSS clip-path.

Here is the path I want to apply to a white <div>:

M 0 300 L 350 300 C 400 300 400 250 450 250 L 800 250

I tried using clip-path: path("…"), but I can’t get the curve to match the SVG path.

How can I apply this exact curve to a div using CSS? Should I use clip-path or another technique?

New contributor
nevado2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • 2
    It would help us to help you if you could include a small snippet which we can run showing the problem. In this case you probably only need to show the relevant div and clip path if the other parts of your layout are working OK. Commented Nov 25 at 7:40

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.