Make svg top visible | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Make svg top visible

I have just finished making a hat with svg. Can someone please guide me on the right positioning to make the top visible? Here is the code. <svg width="2000" height="2000"> <path d="M 0 10 L100 4 L120 -50 L210 -50 L214 4 L314 10 Z" style="stroke:#000; fill:green;" /> </svg>

15th Feb 2018, 7:42 PM
Learner
2 Answers
+ 2
Learner Your hat, made with svg, did not fit on the canvas svg. You need to move the hat down.
15th Apr 2018, 9:08 PM
Olga
0
OK, thanks.
10th May 2018, 10:56 AM
Learner