Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG_fundamentals

Public visualization

Viewing a saved revision (read-only)

acee2add6068455392aa4b946993c3c6

SVG_fundamentals

0 stars0🌍 Public
Iiliuchyk
Last edited May 27, 2022
Created on May 26, 2022
Forked from HTML Starter

This example demonstrates two SVG rectangles with rounded corners, each filled using a linear gradient. The first rectangle uses a gradient defined by CSS classes within the SVG `<style>` block, while the second uses an inline gradient definition. Both gradients transition from red through transparent black to blue. The code relies on native SVG elements (`<defs>`, `<linearGradient>`, `<stop>`, `<rect>`) and CSS styling, with no external JavaScript libraries. The rendering is pure SVG embedded directly in the HTML document.

AI-generated description

A demonstration of SVG shapes.