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)

88870036da7e4b2894ee9d7641b23d6c

Shapes with SVG and CSS

0 stars0🌍 Public
SSchmittYannic
Last edited Aug 7, 2020
Created on Aug 7, 2020
Forked from HTML Starter

This example demonstrates how to draw and style basic SVG shapes—circles, rectangles, lines, and paths—using a combination of inline SVG attributes and external CSS rules. It shows how CSS classes can control stroke color, width, and line join styling, while SVG group elements apply global transforms and presentation attributes like `fill` and `stroke` to multiple children. The rendering uses raw SVG markup within an HTML page, with styles defined in a separate stylesheet.

AI-generated description

A bare minimum HTML page.

See also React Starter.