Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Fundamentals

Public visualization

Viewing a saved revision (read-only)

e2377af18433431ab5fb0b4d6a1d48ff

SVG Fundamentals

0 stars0🌍 Public
KKris
Last edited Nov 15, 2022
Created on Nov 14, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shape animation and interactivity. It displays a single black rectangle with rounded corners that continuously morphs its corner radius and horizontal position over a six-second loop while an inline CSS rule changes the shape’s fill to red on hover. The rendering relies entirely on raw SVG elements—`<rect>` and `<animate>`—inside an HTML page, with CSS transitions applied to the `circle` selector (which does not affect the rectangle) and the `:hover` pseudo-class for the fill change. No external libraries or data sources are used.

AI-generated description

Building Shapes with SVG in VizHub