Skip to main content
100%

Shapes with SVG and CSS

✓ Published1🌍 Public
AAnnie Liao
Last edited Jun 5, 2020
Created on Jun 5, 2020
Forked from HTML Starter

This example demonstrates how simple geometric shapes can be composed and styled using SVG elements and CSS. It shows two circles and two rectangles arranged on a canvas, with a lime stroke applied to one group and a hotpink line and path rendered as part of a separate group. The code uses raw SVG markup within an HTML page, along with a linked stylesheet that applies global typography and group-specific styling, such as stroke color and width, as well as a round line join for the path.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes