Skip to main content
100%

SVG Fundamentals

✓ Published1🌍 Public
Mmfgok
Last edited Sep 18, 2022
Created on Sep 18, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes and styling through a single static page. It draws a rectangle, four circles, two polygonal paths, and a line within an SVG element. CSS defines the rectangle’s red fill, grey stroke, and a two-second transition that changes its fill to green and stroke width on hover. The code uses plain HTML, CSS, and inline SVG attributes like `cx`, `cy`, and `d`, with no external libraries. It illustrates basic vector graphics rendering and declarative styling in the browser.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes