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 stars0🌍 Public
JJustinS1209
Last edited Aug 2, 2019
Created on Aug 2, 2019
Forked from HTML Cars Report

This example demonstrates a collection of basic geometric shapes—circles, rectangles, a line, and a path—rendered within a single SVG canvas. It shows how presentation varies: shapes appear both with default black fills and with explicit `fill` attributes, while a group applies a unified light-blue fill and black stroke. The example uses plain SVG markup alongside CSS to style elements, specifically targeting elements with the `.lines` class to set stroke color and width, and further styling the path within that group. A `transform` scales the entire composition.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed