🌍 Public
Viewing a saved revision (read-only)
60722eda7aeb4ab79a8a56e77cb427fd
Shapes and Colors with SVG and CSS
This example demonstrates SVG shapes and CSS styling, showing circles, rectangles, lines, and a path within a scaled and translated group. The code uses inline SVG elements with attributes for geometry and fill, while a separate stylesheet defines stroke properties and line joins through classes. The SVG is rendered directly in the HTML with a 960 by 500 viewport.
AI-generated descriptionAn example including some commonly used features of SVG.