Skip to main content
100%

Shapes with SVG and CSS

✓ Published1🌍 Public
Kkkwyoung
Last edited Aug 12, 2020
Created on Aug 5, 2020
Forked from HTML Cars Report

This example demonstrates basic SVG shapes—circles, rectangles, lines, and a path—arranged in two translated groups against a plain background. The first group shows default black shapes, while the second uses group-level fill and stroke attributes to alter appearance. A third group, moved horizontally, displays a stroke-heavy line and a semi-transparent steelblue path with rounded corners. The code relies on raw SVG elements and CSS class selectors (`.lines`, `.lines path`) for styling, with a JavaScript console log present but no interactive behavior.

AI-generated description
MIT Licensed

Similar vizzes