Skip to main content
100%

Demostración de SVG

✓ Published0🌍 Public
AArthurmisth
Last edited Feb 2, 2023
Created on Feb 2, 2023
Forked from HTML Starter

This example demonstrates a single SVG rectangle that responds to hover interactions. The rectangle initially renders with a red fill and thin black stroke, then smoothly transitions to a yellow fill with a thicker stroke over three seconds when hovered. The styling and transitions are defined entirely through CSS, utilizing the `rect:hover` pseudo-class and the `transition` property. The page is a minimal HTML document using inline SVG for rendering, with no JavaScript or external libraries involved.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes