Skip to main content
100%

shapes with svg and css

✓ Published1🌍 Public
JJoora Song
Last edited Nov 25, 2021
Created on Nov 25, 2021
Forked from Hello HTML

This example demonstrates how basic SVG shapes—circles, rectangles, lines, and paths—can be styled and transformed using both inline attributes and CSS classes. It shows the effect of explicit fill and stroke properties, group-level transformations like `translate` and `scale`, and cascading CSS rules that apply stroke width and color to line elements. The rendering uses raw SVG within an HTML page, with a linked stylesheet, and requires no external JavaScript libraries.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes