Skip to main content
100%

SVG Fundamentals

✓ Published3🌍 Public
CCaroline Ghisolfi
Last edited Dec 19, 2022
Created on Dec 19, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes, including circles, rectangles, lines, and paths, rendered directly on an SVG canvas. It also shows a hover-triggered CSS transition that gradually changes a rectangle’s fill color to green, alongside a nested SVG with multiple ellipses and an animated circle that moves vertically using the SVG `<animate>` element. The code uses plain SVG markup with inline styling and attributes, such as `fill`, `stroke`, `stroke-width`, and `values` for animation, without relying on external libraries. The composition serves as a raw tutorial of core SVG capabilities.

AI-generated description

A demonstration of SVG shapes

MIT Licensed

Similar vizzes