Fork of Shapes and Colors with SVG and CSS
This example demonstrates basic geometric shapes—circles, rectangles, lines, and a path—grouped and transformed with SVG, each styled either inline or via CSS. A first group shows shapes without fills, a second adds explicit red and green fills, and a third inherits a pale fill with a black stroke. CSS classes control stroke styling for the line and path. The code uses raw SVG elements within an HTML document, relying on CSS properties like fill, stroke, stroke-width, and stroke-linejoin. Shapes are scaled and translated using SVG transform attributes.