Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed