🌍 Public
Viewing a saved revision (read-only)
ca06ab18bae340b5861faacfd747a849
Shapes with SVG and CSS
This example demonstrates basic SVG shapes—circles, rectangles, lines, and a path—styled through both inline attributes and CSS classes. It shows how fill colors, stroke properties, and geometric transforms like scaling and translation affect the visual output. The code uses plain SVG elements within a React-less HTML page, with the styles.css file applying stroke width and line joins to the `.lines` group. Rendering is done entirely through the browser's native SVG support, with no additional JavaScript libraries.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.