Shapes and Colors with SVG and CSS
This example demonstrates how SVG shapes and CSS classes can be combined to create colorful, styled graphics. It shows circles, rectangles, lines, and paths rendered at various positions, with some shapes using inline fill attributes while others inherit styles from CSS rules. The SVG markup pairs shape elements like `<circle>`, `<rect>`, and `<line>` with grouping via `<g>` elements that apply transforms and shared presentation properties. The CSS stylesheet defines stroke colors, widths, and font settings, while the code relies entirely on native SVG and CSS—no JavaScript libraries—to achieve the visual output.