🌍 Public
Viewing a saved revision (read-only)
1ed1e4a979f04215a3116d0aaf4d44f2
shapes with SVG and CSS
This example shows a collection of basic geometric shapes—a circle, a rectangle, a line, and a path—rendered inside a single SVG canvas. The shapes are styled and transformed using CSS rules and inline presentation attributes, demonstrating how CSS can apply strokes, fills, and transformations like translating and scaling to SVG elements. The code uses raw HTML with an SVG element, and a linked `styles.css` file defines classes such as `.lines` and `.highlited` to control visual properties, including stroke color, line joins, and a scale transform on the line group.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.