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