Shapes with SVG and CSS
This example demonstrates how SVG shapes can be styled and transformed using raw SVG attributes and CSS rules. It shows circles, rectangles, lines, and a path, with some shapes inheriting fill and stroke properties from parent groups, while others are explicitly overridden. The code uses inline SVG elements such as `circle`, `rect`, `line`, and `path`, along with CSS classes like `.lines` to define stroke styles. SVG transform attributes (`scale`, `translate`) group and position the shapes, and no external JavaScript libraries are used.