Skip to main content
100%

SVG and CSS

✓ Published1🌍 Public
PPraneeth Varma
Last edited May 6, 2020
Created on May 6, 2020
Forked from HTML Starter

This example demonstrates basic SVG shapes styled with CSS properties. It shows circles, rectangles, lines, and a path rendered on a 960x500 SVG canvas. The code uses inline SVG elements like `circle`, `rect`, `line`, and `path`, with visual attributes such as `fill`, `stroke`, and `stroke-width` applied directly. A `<g>` element groups shapes and applies a transform to offset them vertically. The rendering approach is purely declarative SVG markup within an HTML page, with no external libraries or data sources involved.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes