Skip to main content
100%

SVG Fun!

✓ Published0🌍 Public
Vverrasc
Last edited Aug 17, 2023
Created on Aug 15, 2023
Forked from HTML Starter

This example demonstrates a playful grid of twelve pink rectangles rendered as SVG elements. The visualization shows how CSS transitions and hover states can animate the shapes, changing their fill color and stroke width on mouse interaction. The code uses plain SVG and CSS, with rectangles defined in the HTML and styled via a `rect` selector. The transition property applies a 1000-millisecond easing effect, while the `:hover` pseudo-class modifies the visual style. The page is structured with a fixed 960x500 SVG viewport and a margin around the body.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes