Skip to main content
100%

SVG

✓ Published1🌍 Public
Iirasheed01
Last edited Nov 24, 2019
Created on Nov 23, 2019

This example demonstrates basic SVG shape rendering within an HTML page, organizing circles, rectangles, lines, paths, and polygons in nested groups. The SVG canvas scales the entire composition with a `transform` attribute, while a second group applies a further scale to the polygon. Cascading style sheets define red stroke styling for the `.lines` class, including a darkened path with rounded joins and caps, plus a light-blue stroked, dark-blue filled polygon. The code uses raw SVG elements—`circle`, `rect`, `line`, `path`, `polygon`—with inline attributes for fills, strokes, and coordinate positions, showing static vector graphics without external libraries.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes