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 stars1🌍 Public
AAnna Lopez
Last edited Apr 5, 2020
Created on Apr 5, 2020
Forked from HTML Cars Report

This example shows how to create and style basic SVG shapes, including circles, rectangles, lines, and paths, using both inline attributes and CSS classes. The shapes are drawn within an SVG element and scaled via a transform. CSS rules in `styles.css` apply stroke styling to the group with class “lines,” while the `path` element uses a custom stroke color and rounded line joins. The code demonstrates combining SVG’s native shape attributes with external stylesheet rules for visual customization.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed