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)

34fa3f56be1142509d204a0bc70b33d0

Shapes with SVG and CSS

0 stars2🌍 Public
PPhilippe Bonnet Doring
Last edited Apr 12, 2020
Created on Apr 12, 2020
Forked from HTML Cars Report

This example uses raw SVG elements—circles and rectangles—to demonstrate how CSS and SVG attributes control shape styling. The SVG markup applies colors individually via inline attributes such as `fill="rgb(255,0,0)"` and `fill="#83cc2a"`, while a `<g>` group element applies a shared `fill="blue"` to its child shapes. The page, styled by a minimal external stylesheet, resets margins and hides overflow on the body.

AI-generated description

A bare minimum HTML page.

See also React Starter.