🌍 Public
Viewing a saved revision (read-only)
3a48c41c09d04643a2bd110a3cccd7fd
Shapes and Colors with SVG and CSS
This example demonstrates basic SVG shapes—circles, rectangles, lines, and paths—rendered with CSS styling and inline presentation attributes. A transform scales the entire group, while a nested group translates shapes and applies fill and stroke properties. The `.lines` class sets stroke width and color, with path-specific rules for rounded line joins and caps. It uses raw SVG elements in HTML with a linked stylesheet, showing how CSS can control vector graphics without any JavaScript libraries.
AI-generated descriptionAn example including some commonly used features of SVG.