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)

2d815ac0860d42adbc57acec28496be7

Shapes with SVG and CSS

0 stars2🌍 Public
JJaKokosz
Last edited Mar 23, 2020
Created on Mar 23, 2020
Forked from HTML Starter

This example demonstrates basic SVG shapes—circles, rectangles, lines, and paths—rendered on an HTML page with CSS styling. It shows how SVG presentation attributes like `fill`, `stroke`, and `stroke-width` combine with CSS classes (such as `.lines`) to control appearance, including a yellow path with rounded joins. The code uses raw SVG elements within a `<g>` group with transforms for scaling and translation, applying inline attributes for color and stroke styling. No external JavaScript libraries are used; the visualization relies solely on static SVG markup and linked `styles.css`.

AI-generated description

A bare minimum HTML page.

See also React Starter.