Skip to main content
100%

Shapes with SVG and CSS

✓ Published1🌍 Public
Ccyro666
Last edited Mar 17, 2020
Created on Mar 17, 2020
Forked from HTML Cars Report

This example displays a collection of geometric shapes—circles, rectangles, lines, and a path—rendered as inline SVG elements within an HTML page. It demonstrates how CSS styles, such as stroke, fill, and stroke-width, apply both globally and through class selectors to control appearance. The code uses raw SVG markup and a stylesheet, with groups and transforms to position and scale shapes, offering a simple introduction to combining SVG and CSS for vector graphics.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes