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
AAloysius
Last edited Feb 12, 2020
Created on Feb 10, 2020

This example displays a static composition of basic SVG shapes—circles, rectangles, lines, and a path—arranged within a scaled and translated group. The code uses plain SVG elements to draw the shapes, while CSS classes (`.lines`) apply stroke styling, including a customized stroke-linejoin for the path. React is listed as the framework, though the provided markup is a standalone HTML page with an external stylesheet. The visualization demonstrates how SVG attributes like `fill`, `stroke`, and `transform` combine with CSS rules to control appearance, showing both default and overridden style properties.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed