Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Ssukumardunn
Last edited Feb 1, 2023
Created on Jan 23, 2023
Forked from HTML Starter

This example demonstrates fundamental SVG shapes and CSS styling, using inline SVG elements with circles and rectangles to compose a simple visual arrangement. It shows how CSS properties like fill, stroke, and stroke-width are applied to SVG shapes, with a transition effect on the rectangle. The code uses plain SVG tags (circle, rect) styled via a `<style>` block in the HTML document, featuring circle pairs with varying radii and a single rectangle that changes its fill color and stroke width when hovered. The rendering approach is static SVG markup with no JavaScript interactivity beyond CSS hover animations.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes