Skip to main content
100%

Shapes with SVG and CSS

✓ Published1🌍 Public
EEdward-Elric233
Last edited Aug 15, 2020
Created on Aug 14, 2020
Forked from HTML Starter

This example displays a collection of basic geometric shapes—circles, rectangles, lines, and a path—arranged in groups using SVG elements inside an HTML page. The code applies CSS classes to style the line group with a black stroke and a rounded path join. A transform attribute scales the entire drawing by 1.5 times, while groups use translate to position shapes, with fill and stroke properties set directly on elements to control color and borders.

AI-generated description
MIT Licensed

Similar vizzes