🌍 Public
Viewing a saved revision (read-only)
e690844af22248ad8ffeb96c3aa0941d
Shapes with SVG and CSS
A small SVG canvas displays primitive shapes—circles, rectangles, a line, and a path—arranged in groups. The first two shapes use default black styling, while the next pair applies explicit fill colors (red and a green RGB value). A translated group demonstrates inherited fill and stroke attributes, and a classed group with thick black strokes contains a light-blue path with rounded line joins. The example shows how SVG presentation attributes and CSS rules (via the `.lines` class and element selectors) control appearance, with an SVG transform scaling the entire composition.
AI-generated description