Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes and Colors with SVG and CSS

Public visualization

Shapes and Colors with SVG and CSS

0 stars0🌍 Public
Sshah417
Last edited Sep 7, 2019
Created on Sep 7, 2019

This example demonstrates basic SVG shapes and CSS styling. It shows circles, rectangles, lines, and a path, with some shapes using default black fill while others specify fill colors like red and green. A transformed group applies a light blue fill and black stroke with a thicker stroke-width on the circle. The CSS file styles the line and path elements with custom stroke colors and line joins. The SVG markup uses inline attributes, the `<g>` element for grouping, and CSS classes to control presentation.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed