Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

shapeswith SVG and css

Public visualization

Viewing a saved revision (read-only)

4abdaed8e33a4cc580cecf14dcad45c3

shapeswith SVG and css

0 stars0🌍 Public
Sshatomouimena
Last edited Nov 4, 2021
Created on Nov 4, 2021
Forked from HTML Starter

This example demonstrates basic SVG shapes—circles, rectangles, lines, and paths—rendered on a 900×500 canvas with CSS styling applied via an external stylesheet. It shows how SVG elements can be grouped using `<g>` transformations like scaling and translation, with individual shapes colored through fill and stroke attributes alongside CSS-defined font and margin rules. The code uses plain SVG markup within an HTML page, linked to a `style.css` file, and relies on React as the framework for the surrounding project structure. Shapes appear in varied positions and colors, including a red circle, green rectangle, and stroked paths, illustrating fundamental SVG composition.

AI-generated description

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

See also React Starter.