🌍 Public
Viewing a saved revision (read-only)
41f0c9d5fd4a487195e0e7a0e19363f9
Shapes with SVG and CSS
This example demonstrates basic SVG shape rendering and styling using CSS. It displays circles, rectangles, lines, and paths on a 960x500 canvas, with shapes scaled and translated using SVG transform attributes. The code uses raw SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, while CSS classes such as `.lines` control stroke properties. Colors and fills are applied both inline and through stylesheets, showcasing how SVG and CSS combine to create static vector graphics.
AI-generated descriptionAn example showing the capabilities of VizHub.