Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Viewing a saved revision (read-only)

bfe523f1ba0c4b8fbc48ff1e7d2e5b88

Shapes with SVG and CSS

0 stars0🌍 Public
Ddevansh1407
Last edited Apr 10, 2023
Created on Apr 10, 2023
Forked from HTML Starter

This example demonstrates how simple geometric shapes—a yellow circle with a red stroke and a blue rectangle with an orange stroke—can be drawn directly in an SVG canvas. The code uses inline SVG elements (`circle` and `rect`) styled via presentation attributes like `fill` and `stroke-width`, with the page structured by plain HTML. No external libraries are used; the shapes are static and rendered by the browser’s SVG engine, providing a minimal illustration of primitive vector graphics.

AI-generated description