Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
Nnilimi
Last edited Jan 5, 2020
Created on Jan 5, 2020

This example demonstrates a range of basic SVG shapes—circles, rectangles, lines, and paths—styled through both inline attributes and external CSS. It shows how fill colors, strokes, stroke widths, and line joins can be applied, with groups using transformations for scaling and translation. The rendering relies on raw SVG markup within an HTML page, combined with a linked stylesheet that defines classes like `.lines` for grouped styling. No JavaScript libraries are used.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes