Shapes and Colors with SVG and CSS
This example demonstrates how SVG shapes and CSS styling can be combined to create a static visual composition. It shows circles, rectangles, lines, and a path, with some shapes using inline fill attributes and others inheriting styles from CSS classes. The SVG is rendered with a scaling transform and a translated group, while the `.lines` class applies stroke properties and path-specific colors. The code uses plain SVG elements—`circle`, `rect`, `line`, `path`, and `g`—with CSS rules from an external stylesheet, no JavaScript libraries involved.