Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with CSS and SVG

Public visualization

Viewing a saved revision (read-only)

f90897d0e2494888bd719e76387fe64d

Shapes with CSS and SVG

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

This example demonstrates basic geometric shapes created with Scalable Vector Graphics (SVG) and styled through CSS properties. A pink circle and a blue rectangle are rendered inside an SVG container, each with a 10-pixel orange stroke and distinct fill colors. The code directly uses SVG elements such as `<circle>` and `<rect>` within an inline `<svg>` tag, while visual attributes like `fill`, `stroke`, and `stroke-width` are applied as presentation attributes. No external libraries or JavaScript are involved, relying entirely on native SVG markup for rendering.

AI-generated description