🌍 Public
Viewing a saved revision (read-only)
b18d991db3a34459868e6e5f53352d7f
Shapes with SVG
This example shows basic SVG shapes—circles, rectangles, lines, and paths—arranged in a fixed composition with varied fill colors and stroke styles. It demonstrates how raw SVG markup, without any JavaScript libraries, can create static vector graphics. The code uses core SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, along with grouping via `<g>` and transform attributes for scaling and translation. CSS classes style the lines and paths, while inline attributes control fill and stroke properties for the other shapes.
AI-generated description