Shapes and Colors with SVG and CSS
This example demonstrates how SVG shapes and CSS styles combine to create a static composition, using circles, rectangles, lines, and a path. It shows the effects of inline styling versus CSS class-based styling, including fills, strokes, stroke-width, line joins, and caps. The rendering relies on raw SVG elements within an HTML file, with styles defined in an external stylesheet. A transform group scales the entire drawing, while nested groups apply translation and shared presentation attributes across multiple shapes.