Shapes and Colors with SVG and CSS
This example demonstrates a static SVG composition showcasing common geometric shapes, including circles, rectangles, lines, and a custom path, with styling applied through both inline presentational attributes and an external CSS stylesheet. The visual output emphasizes how different fill colors, stroke widths, and group-level transformations, such as scaling and translation, affect the rendering of these primitives. The code relies on raw SVG elements within an HTML document, using the `<g>` element to group related shapes and apply shared CSS classes, specifically the `.lines` class to alter stroke properties. The rendering is pure SVG, with no JavaScript or data source, serving solely as a demonstration of SVG and CSS capabilities.