🌍 Public
Viewing a saved revision (read-only)
e1651c6532a7423ea8c8de5970a3e5d8
Shapes with SVG and CSS
This example demonstrates how to draw basic SVG shapes—circles, rectangles, lines, and a path—and style them using CSS. It shows a static composition of simple geometric primitives, with a group of shapes transformed and recolored, and a separate group of lines with rounded joins given a distinct stroke color via CSS classes. The SVG is rendered inline in HTML with a 960×500 viewport, and CSS rules in an external stylesheet control stroke and fill properties. No JavaScript libraries are used, only native SVG elements and CSS styling.
AI-generated descriptionAn example showing the capabilities of VizHub.