Shapes and Colors with SVG and CSS
This example demonstrates how SVG shapes can be styled and organized with CSS and inline attributes. It shows circles, rectangles, lines, and a path, with elements grouped using `<g>` tags and transformed via translation and scaling. The code uses the SVG API directly in an HTML file, with a linked stylesheet that applies stroke and fill properties to the `.lines` class and its path. Color is specified through CSS classes, hexadecimal values, and named colors, while the rendering is done entirely in static SVG without JavaScript libraries or data.