Skip to main content
100%

SVG Fundamentals

✓ Published3🌍 Public
Ssubratanp
Last edited Jan 13, 2023
Created on Jan 10, 2023
Forked from HTML Starter

This example demonstrates how to build SVG graphics by hand, using raw SVG elements and CSS for interaction. It shows two distinct compositions: a circular arrangement of colored circles, and a separate SVG canvas with a scatter of black points. The first cluster uses plain SVG `<circle>` elements with fixed coordinates and fills, while a CSS `:hover` rule changes the fill of a central circle. The code relies directly on the browser’s SVG DOM APIs and CSS selectors, with no external libraries, rendering purely through static markup.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes