Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Aaksgooner
Last edited Sep 23, 2022
Created on Sep 22, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes and styling, showing how a single rectangle can be rendered with a yellow fill, black stroke, and thick stroke width. It also includes CSS-based hover interactions that change the rectangle's fill to red and its stroke to black. The visualization relies on the SVG `<rect>` element embedded directly in an HTML page, with styling handled through both inline attributes and a `<style>` block using CSS transitions. The rendering approach is pure SVG, with no external JavaScript libraries or data sources involved.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes