Skip to main content
100%

SVG fundamentals

✓ Published0🌍 Public
Aavia62490
Last edited Aug 16, 2022
Created on Aug 11, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes and CSS styling, showing a green rectangle with a thick black outline and a blue path. The code uses raw SVG elements within an HTML page, including `circle`, `path`, and `rect`, and applies CSS transitions and `:hover` pseudo-classes to animate changes in stroke color, width, and path data. The rectangle transitions from green to red over eight seconds on hover, while the path’s stroke shifts to red and its `d` attribute morphs over two seconds, illustrating basic vector graphic interactivity and styling.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes