🌍 Public
Viewing a saved revision (read-only)
bfe523f1ba0c4b8fbc48ff1e7d2e5b88
Shapes with SVG and CSS
This example demonstrates how simple geometric shapes—a yellow circle with a red stroke and a blue rectangle with an orange stroke—can be drawn directly in an SVG canvas. The code uses inline SVG elements (`circle` and `rect`) styled via presentation attributes like `fill` and `stroke-width`, with the page structured by plain HTML. No external libraries are used; the shapes are static and rendered by the browser’s SVG engine, providing a minimal illustration of primitive vector graphics.
AI-generated description