🌍 Public
Viewing a saved revision (read-only)
19877dcfed154145b631d8600534bfa5
Shapes with SVG and CSS
This example demonstrates how to draw and style basic SVG shapes—circles, rectangles, lines, and paths—using a combination of inline SVG attributes and external CSS rules. It shows how CSS classes can control stroke color, width, and line join styling, while SVG group elements apply global transforms and presentation attributes like `fill` and `stroke` to multiple children. The rendering uses raw SVG markup within an HTML page, with styles defined in a separate stylesheet.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.