🌍 Public
Viewing a saved revision (read-only)
af7c7855e8a64d5aa75865b095026ed4
Shapes with SVG and CSS
This example displays a collection of geometric shapes—circles, rectangles, lines, and a path—rendered as inline SVG elements within an HTML page. It demonstrates how CSS styles, such as stroke, fill, and stroke-width, apply both globally and through class selectors to control appearance. The code uses raw SVG markup and a stylesheet, with groups and transforms to position and scale shapes, offering a simple introduction to combining SVG and CSS for vector graphics.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.