Skip to main content
100%

Fork of Shapes with SVG and CSS

✓ Published0🌍 Public
Nnajeebgdds
Last edited Mar 13, 2021
Created on Mar 13, 2021

This example demonstrates a static composition of primitive shapes—circles and rectangles—arranged directly on an SVG canvas, with one group transformed vertically and given a distinct fill and stroke. It then shows a polyline formed by a line element and a path element, where CSS class rules apply a stroke color and a round line join to the path. The code uses native SVG elements and CSS selectors to style the shapes, with the stylesheet also setting the canvas to fill the viewport and hide overflow.

AI-generated description
MIT Licensed

Similar vizzes