Shapes with SVG and CSS
This example demonstrates basic SVG shapes—circles, rectangles, lines, and a path—arranged and styled with CSS and inline attributes. It shows how default black fills contrast with explicit colors like red and green, and how groups apply shared transforms and styles, such as translating shapes and adding strokes. The code uses plain SVG elements within an HTML file, with CSS classes controlling stroke color and width, and inline attributes like `fill` and `transform` for individual styling. The rendering is entirely SVG-based, with no external libraries.