Shape with SVG and CSS
This example demonstrates how geometric shapes can be composed and styled using SVG and CSS. It shows circles, rectangles, lines, and a path, with attributes like fill color, stroke, and stroke-width applied both inline and through CSS classes. The SVG is scaled and translated using transform groups, while CSS rules set stroke properties for the line and path elements. The code uses standard SVG elements (`circle`, `rect`, `line`, `path`) with inline styles and an external stylesheet (`styles.css`) that defines classes like `.lines` and `.lines path`.