🌍 Public
Viewing a saved revision (read-only)
9dd3201aef7443adb89d5ab9029474de
Shapes and Colors with SVG and CSS
This example demonstrates how basic SVG shapes—circles, rectangles, lines, and paths—can be styled with inline attributes and CSS classes. It shows the effects of fill colors, stroke widths, line joins, and grouped transformations such as scaling and translation. The rendering relies entirely on SVG elements styled by CSS, with classes like `.lines` controlling stroke properties and the `fill` attribute applying color. No JavaScript libraries are used; the visualization is purely static markup and styles.
AI-generated descriptionAn example including some commonly used features of SVG.