Shapes with SVG and CSS
✓ Published1🌍 Public
This example displays four basic SVG shapes—two circles and two rectangles—positioned on a 960×500 canvas using inline SVG markup. The shapes appear in two rows, with the top row using default black fills and the bottom row using explicit green and yellow fill colors. It demonstrates how SVG elements can be styled directly through attributes or CSS, though the provided stylesheet only sets body margins and overflow. The visualization serves as a minimal technical reference for combining SVG geometry with basic CSS for layout control.
AI-generated descriptionMIT Licensed