🌍 Public
Viewing a saved revision (read-only)
81a1640ac19f44d3a27545c9344285e6
Shapes and Colors with SVG and CSS
This example demonstrates basic SVG shapes—circles, rectangles, lines, and paths—styled through inline attributes and CSS classes. The code shows how fill colors, stroke widths, transparency, and geometric transforms like scaling and translation affect rendering. It uses raw SVG elements with CSS selectors (`.lines`, `.lines path`) to apply stroke properties, while a `<g>` element groups shapes to share fill and stroke settings. The rendering is pure SVG in an HTML page with no external libraries.
AI-generated descriptionAn example including some commonly used features of SVG.