🌍 Public
Viewing a saved revision (read-only)
31aebb1b5b744394baff2c95057eb6fc
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.