Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
DdancingCars
Last edited Jan 31, 2020
Created on Jan 31, 2020
Forked from HTML Starter

This example demonstrates basic SVG shapes—a circle, rectangle, line, and path—styled with CSS classes and inline attributes, rendered with React. The SVG canvas uses a 960x500 viewport, with shapes grouped and transformed. CSS rules in `style.css` control stroke color, width, and fill, including a highlighted class. The code references plain SVG elements and CSS selectors, with React’s `index.js` handling a text message, though the visualization itself relies solely on static SVG markup and stylesheets.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes