🌍 Public
Viewing a saved revision (read-only)
7ee14b9ac6cc442c9936e3d646127ea2
Shapes with SVG and CSS
This example demonstrates basic SVG shapes—circles, rectangles, lines, and paths—styled with CSS. It shows how presentation attributes like `fill` and `stroke` can be set inline or via classes, and how transforms scale and translate groups of elements. The React-based code uses plain SVG markup in JSX, with a separate CSS file controlling stroke styles and line joins. The visualization is static, with no interaction or data binding, purely illustrating geometric primitives and styling mechanisms.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.