🌍 Public
Viewing a saved revision (read-only)
6dacc768cc3a4537b3e21416c3e28c85
Shapes with SVG and CSS
This example demonstrates how SVG shapes—circles, rectangles, lines, and paths—can be styled directly with CSS classes and inline attributes. It shows basic geometry positioning within a 960x500 viewport, using a scaled group transform, and highlights how fills, strokes, and stroke-widths vary across elements. The visualization relies purely on React-rendered SVG markup and a linked stylesheet, with no JavaScript libraries or data binding involved. Each shape’s appearance is controlled through either explicit SVG attributes or CSS selectors targeting groups and path elements.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.