Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Aaasiasattar
Last edited Oct 31, 2023
Created on Oct 31, 2023
Forked from HTML Starter

This example demonstrates fundamental SVG shapes, including circles, rectangles, and lines, arranged on a 960 by 500 canvas. It shows how basic attributes like position, radius, fill color, stroke, and stroke-width control the appearance of each element, with a blue outer rectangle framing the composition. The code uses plain SVG markup within an HTML page, relying on CSS and JavaScript as listed in the accompanying README. A red diagonal line and a yellow rectangle with a thick navy border illustrate varying styling options.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes