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)

b5fbd0fe9bfa4e1e9d9f3a5cef91ddcd

Shapes with SVG and CSS

0 stars0🌍 Public
Ppengpenghub
Last edited Mar 5, 2020
Created on Mar 5, 2020
Forked from HTML Cars Report

This example demonstrates fundamental SVG shapes—circles, rectangles, lines, and paths—styled through both inline attributes and an external CSS stylesheet. It shows how fill, stroke, and stroke-width properties apply differently when set directly on elements versus via CSS classes. The code uses raw SVG markup within an HTML page, with a CSS rule targeting the `.lines` group to apply consistent styling, including a rounded line join for the path.

AI-generated description

A bare minimum HTML page.

See also React Starter.