Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
Yyubeichen0826
Last edited Aug 9, 2020
Created on Aug 9, 2020
Forked from HTML Starter

This example demonstrates how SVG shapes can be styled using CSS and inline attributes within a React-based visualization. It shows circles and rectangles with varying fills, strokes, and transforms, including a group with a yellow fill and red stroke, and a path with a rounded line join. The code uses raw SVG elements such as `<circle>`, `<rect>`, and `<path>`, along with CSS classes like `.lines` to control stroke properties. No external libraries are used beyond the basic SVG rendering approach.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes