Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
Kkwanwoo100
Last edited Jun 30, 2020
Created on Jun 29, 2020
Forked from HTML Starter

This example demonstrates basic shape drawing and grouping within an SVG canvas. It shows a green rectangle and a red circle rendered directly inside an SVG element, with a second copy of both shapes wrapped in a `g` transform group that shifts them downward. The visualization uses raw SVG syntax with inline `fill` attributes, alongside a simple CSS stylesheet that hides document margins and overflow. Notably, the code includes pure SVG elements without any JavaScript libraries, highlighting the visualization’s reliance on native browser rendering.

AI-generated description
MIT Licensed

Similar vizzes