🌍 Public
Viewing a saved revision (read-only)
d0d68c6a74fd4d52a7c0663571070dd4
Shapes with SVG and CSS
This example demonstrates how to combine SVG shapes with CSS styling rules. It shows circles, rectangles, lines, and a path, organized into groups that inherit fill and stroke properties. The code uses plain SVG elements such as `<circle>`, `<rect>`, `<line>`, and `<path>`, along with CSS classes like `.lines` to define stroke styles, and inline `transform` attributes for scaling and translation.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.