🌍 Public
Viewing a saved revision (read-only)
7694845d1b344feeb3660188e98059c4
Shapes with SVG and CSS
This example demonstrates fundamental SVG shapes—circles, rectangles, lines, and paths—combined with CSS styling. The code uses raw SVG markup within an HTML page, with CSS rules in a separate stylesheet. Shapes are scaled, translated, and grouped using SVG transform attributes, while CSS classes control stroke and fill properties. The presentation shows how CSS can override SVG attributes, as seen in the `.lines` class applying stroke styles to paths.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.