Shapes with SVG and CSS
This example demonstrates the use of inline SVG shapes—circles, rectangles, lines, and paths—to build a static composition with varying fills, strokes, and transformations. It shows how SVG presentation attributes define the base appearance, while CSS rules in an external stylesheet override styling for grouped elements, such as setting a black stroke and round line joins on the path. The entire canvas is wrapped in a scaling <g> element, and an additional translation group repositions a set of shapes. The rendering relies entirely on native SVG markup and CSS, without any external JavaScript libraries or data sources.