🌍 Public
Viewing a saved revision (read-only)
623473d653ca4eaba82a8a91f198360a
SVG Fundamentals
This example demonstrates fundamental SVG shapes and styling within a bare HTML page, using CSS for interactivity and transitions. It draws circles, rectangles, lines, and paths onto a 900x900 SVG canvas, with a hover effect on the rectangle that changes its fill, stroke color, and stroke width over three seconds. The code leverages native SVG elements and CSS selectors, such as `rect:hover` and the `transition` property, to illustrate basic vector graphics rendering and styling. No external libraries are used; only vanilla HTML, CSS, and SVG.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.