Skip to main content
100%

SVG Fundamentals

✓ Published1🌍 Public
AAlex Georgiev
Last edited Aug 20, 2022
Created on Aug 20, 2022
Forked from HTML Starter

Two broad grey triangles dominate an otherwise empty SVG canvas, illustrating basic shape construction in SVG. The example uses raw `path` elements with `d` attributes containing absolute and relative `l` commands to draw each triangle. Paths receive a black stroke and no fill by default, while a specific class overrides the fill to grey. The code relies on core SVG syntax and CSS styling, with no external libraries or data sources involved. The result is a minimal demonstration of how coordinate-based drawing and path commands create geometric shapes in a 960 by 500 viewport.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes