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)

1994e1ec71904994b2c0fa2b543c2c4a

Shapes with SVG and CSS

0 stars2🌍 Public
Jjugsomilk
Last edited Apr 21, 2020
Created on Apr 21, 2020
Forked from HTML Starter

This example demonstrates basic geometric shapes—circles, rectangles, lines, and a path—rendered within a single SVG element. It shows how inline presentation attributes coexist with external CSS rules, where the `.lines` class applies stroke styling to grouped elements while individual shapes use inline `fill` and `stroke` values. The SVG uses transform groups to scale, translate, and reposition shapes, with colors and stroke widths controlling visual hierarchy. The page is a plain HTML file with a linked stylesheet, using no JavaScript libraries, relying purely on SVG’s declarative markup and CSS for styling.

AI-generated description

A bare minimum HTML page.

See also React Starter.