Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG with CSS

Public visualization

SVG with CSS

0 stars0🌍 Public
Ii211367
Last edited Sep 18, 2023
Created on Sep 18, 2023

This example demonstrates basic SVG shapes—circles, rectangles, lines, and a path—arranged in groups and transformed by scaling and translation. It shows how shape styling is applied directly via SVG attributes like `fill` and `stroke`, and how CSS classes from an external stylesheet selectively override properties: the `.lines` class sets stroke color and width, while `.lines path` overrides the stroke with a custom color and rounded joins. The rendering uses native SVG elements within an HTML page.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed