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
IMO this shape requires smooth curve-to beziers to ensure continuity of the curve.
For the drop in question,
Note: Red and blue curves are two different quadratic curves.
stroke-linejoin="miter"
, for the pointed top part.
AS this shape only uses successive c
commands, we can omit it.
Here's the final snippet:
TBH though, accepted answer's curves are not quite continuous.
Only works in IE 5-8. VML uses different commands than SVG. Eg. it uses v for relative cubic beziers.
Note: This snippet won't run in IE 5-8 too. You need to create an html file and run it directly in the browser.