Help me with SVG cordinates


So I am trying to make a polygon triangle that goes from the top and bottom left, to top right. A full width and height diagonal triangle.

Never really used inline svg before so I am going crazy over cordinates. Why can’t I just use % cordinates?


thanks in advance

I don’t think you saved your code pen, as I can’t see your pen…

1 Like

thx for noticing=) Updated the link.

Here you go. I added viewBox attribute and preserveAspectRatio

Also, this article was a gold mine


thx, perfect!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.