Skip to main content
100%

SVG Fundermentals

✓ Published0🌍 Public
Iigndukwe
Last edited May 11, 2022
Created on May 11, 2022
Forked from HTML Starter

This example demonstrates basic SVG shape rendering, showing two overlapping circles and a large rectangle in a fixed 960-by-400 viewport. The circles use `fill` properties to render red and green, while the rectangle applies both a yellow fill and a navy `stroke` with a 10-pixel `stroke-width`. The code uses raw SVG elements—`circle` and `rect`—directly in HTML markup without any JavaScript libraries. Rendering relies on the browser’s native SVG support, with shapes positioned via explicit `cx`, `cy`, `x`, and `y` coordinates. The static composition illustrates vector graphics fundamentals for layout and styling.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes