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)

336bf0a9e9ed4c8cb57b10c325a23d77

Shapes with SVG and CSS

0 stars2🌍 Public
Ddamankwah
Last edited Apr 6, 2020
Created on Apr 6, 2020
Forked from HTML Names Report

This example demonstrates how to combine SVG shapes with CSS styling rules. It shows circles, rectangles, lines, and a path, organized into groups that inherit fill and stroke properties. The code uses plain SVG elements such as `<circle>`, `<rect>`, `<line>`, and `<path>`, along with CSS classes like `.lines` to define stroke styles, and inline `transform` attributes for scaling and translation.

AI-generated description

A bare minimum HTML page.

See also React Starter.