Skip to main content
100%

SVG Fundatmental

✓ Published0🌍 Public
HHan Vu
Last edited Oct 22, 2022
Created on Oct 22, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes and styling on a static HTML page. It renders a circle, a navy line, a rectangle, and a custom path using `rect`, `circle`, `line`, and `path` elements inside an SVG canvas. CSS applies a red fill and black stroke to all rectangles, with a smooth `transition` on hover that changes the fill to green and increases the stroke width over 3000 milliseconds. The visualization uses no JavaScript libraries, relying purely on raw SVG markup and CSS for interaction and animation.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes