🌍 Public
Viewing a saved revision (read-only)
4f43cc3f7ae540a68a460535ea94bea5
Shapes with SVG and CSS
This example displays a collection of basic geometric shapes—circles, rectangles, lines, and a path—arranged in groups using SVG elements inside an HTML page. The code applies CSS classes to style the line group with a black stroke and a rounded path join. A transform attribute scales the entire drawing by 1.5 times, while groups use translate to position shapes, with fill and stroke properties set directly on elements to control color and borders.
AI-generated description