Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes and Colors with SVG and CSS

Public visualization

Viewing a saved revision (read-only)

1f0161ac4e7c4f418b1efcd186596f05

Shapes and Colors with SVG and CSS

0 stars0🌍 Public
SSachithraanu
Last edited Sep 28, 2020
Created on Sep 28, 2020

This example demonstrates basic SVG shapes—circles, rectangles, lines, and a path—styled through inline attributes and CSS classes. It shows how fill colors, stroke widths, and line joins can be applied both directly and via stylesheet rules, with groups using transforms for scaling and translation. The SVG is rendered inline in HTML, with the `.lines` class controlling stroke properties and path-specific rounded joins and caps.

AI-generated description

An example including some commonly used features of SVG.