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)

ee5fbda429484191bf2f536d680f012e

Shapes and Colors with SVG and CSS

0 stars0🌍 Public
AAndres Bizzarri
Last edited Jan 3, 2020
Created on Jan 3, 2020

Shapes and Colors with SVG and CSS demonstrates basic vector graphics primitives and styling. Circles and rectangles appear with default black fills, then explicit inline fills like red and `#83cc2a`, and a grouped set with a light fill and black stroke. The example uses SVG elements `circle`, `rect`, `line`, and `path`, with CSS classes (`.lines`) controlling stroke properties on paths. A `transform` attribute scales the entire drawing while nested `translate` groups position elements. Styling combines presentation attributes, inline styles, and an external stylesheet.

AI-generated description

An example including some commonly used features of SVG.