Let me contribute an answer too. The main thing is to reduce the input calculation variables and only need to consider fixing the height of .quote and the width of the rounded corners
Use a picture and display it in the center. Use before and after to debug the upturned parts on both sides. This way you can adapt to it to the greatest extent
http://codepen.io/lizzz0523/pen/Xmqzxw
@lizzz_led’s answer is great.
Let me contribute an answer too. The main thing is to reduce the input calculation variables and only need to consider fixing the height of
.quote
and the width of the rounded cornersNo, it can be achieved using canvas. Just draw 2 and Sebel curves.
It is recommended to use pictures.
Let’s use pictures. . .
Use a picture and display it in the center. Use before and after to debug the upturned parts on both sides. This way you can adapt to it to the greatest extent
Even if the picture is stretched and deformed, it won’t look ugly
I am ignorant, what the hell is ccs3, I have only used css3