🌍 Public
Viewing a saved revision (read-only)
5f4745afb55a4e22ba833ec4c5d5d3f5
Shapes and Colors with SVG and CSS
This example demonstrates basic SVG shapes and CSS styling through a static composition of circles, rectangles, lines, and paths. The shapes display varied fill colors, stroke widths, and transparency settings, with grouped elements transformed using SVG’s `translate` and `scale` attributes. The `.lines` CSS class applies stroke properties to lines and paths, while path-specific stroke-linejoin and stroke-linecap are set. The SVG renders inline in HTML with a linked stylesheet, showing how SVG presentation attributes combine with external CSS rules for color and geometry control.
AI-generated descriptionAn example including some commonly used features of SVG.