🌍 Public
Viewing a saved revision (read-only)
abeaa556986c4ddf99a9386fd0245e7c
Shapes with SVG and CSS
This example demonstrates basic SVG shapes and CSS styling through simple circle, rectangle, line, and path elements. It shows how inline attributes like `fill` and `stroke` work alongside external stylesheet rules defined in `styles.css`. The SVG markup includes grouping with `<g>` and transforms such as `scale` and `translate`, while CSS classes like `.lines` control stroke properties. The visualization uses raw SVG elements without any JavaScript libraries, relying entirely on the browser’s native rendering of the SVG specification.
AI-generated descriptionAn example including some commonly used features of SVG.