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