How do I create a shape like this to display on a webpage?
I don\'t want to use images since they would get blurry on scaling
You can achieve the double curve easily with an inline SVG and the
element instead of the
element which doesn't allow curved shapes.
The following example uses the
element with:
Q
)A
)
SVG is a great tool to make this kind of shapes with double curves. You can check this post about double curves with an SVG/CSS comparison. Some of the advantages of using SVG in this case are:
Browser support for inline SVG goes back to Internet Explorer 9. See canIuse for more information.