🌍 Public
Viewing a saved revision (read-only)
1dc88ba1937149ccb0d349cbc8610e0d
Shapes with SVG and CSS
This example demonstrates basic geometric shapes rendered as SVG elements, including circles, a rectangle, a line, and a freeform path composed of straight line segments. The illustration shows how SVG’s group element can apply transform attributes such as scaling and translation, while a CSS class can be used to set stroke color and width properties on shapes. The code relies on direct SVG markup for the drawing and a connected stylesheet for presentation, using no external libraries or JavaScript.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.