How does css achieve this Radian?

clipboard.png

Css
Mar.23,2021

I have two ideas at present:

  1. is implemented through css border + occlusion part div, such as
  

if it's a personal exercise. The method of the boss above is already very clear. If it is an actual development, a direct background map is recommended. Wait a minute, there will be a "boss" here to tell you that this method has poor performance. Well, yes, the performance is not as good as that of css. But if you write in css, you don't know the value of the fillet, do you? You don't know the parameters, do you? ie8 is not compatible, is it? The difference of a few pixels is not beautiful ah, basically adjust it for half a day. Weigh performance against development efficiency. And when you are free later, it's not too late to use css

.
Menu