Skip to main content
100%

Fork of SVG Fundamentals

✓ Published0🌍 Public
MMika Kutila
Last edited Jun 4, 2022
Created on Jun 3, 2022
Forked from SVG Fundamentals

This example demonstrates basic SVG shape composition by layering a rounded rectangle, a circle, and rotated text to create a simple monogram-like graphic. The code uses the SVG `<rect>`, `<circle>`, and `<text>` elements directly within an HTML document, with the text element anchored at the center and rotated slightly via the `transform` attribute. Styling is applied through CSS, setting a black stroke, a white fill for the circle, and the Averia Serif Libre font. The rendering approach is static SVG, with fixed dimensions of 250 by 250 pixels, showing a fundamental layout of overlapping geometric forms.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes