Css draws arcs

ask God for a hint on how to achieve this effect

Jul.13,2022

  1. the simplest thing is to cut off all the violence and change the picture directly
  2. The
  3. arc is divided into left and right parts. Take the first picture as an example. The upper right corner on the left and the lower left corner on the right set border-radius , matching the background color
    codepen: https://codepen.io/gaoryrt/pe....
  4. svg do clip-path to make a curved svg, and truncate the excess

if it helps you, please upvote or adopt ~

Menu