Gist 8d9b109e150b883ed9c2
✓ Published0🌍 Public
Aabernier
Last edited Apr 6, 2015
Created on Apr 6, 2015
A plain SVG rectangle demonstrates a horizontal linear gradient, transitioning from light blue on the left to a warm orange on the right, with a dark gray border. The gradient is defined inside the SVG’s `<defs>` block, using `<linearGradient>` with two `<stop>` elements, and applied via the `fill` property in a linked CSS file. The example renders a single static shape, showing the SVG gradient syntax and CSS integration without any JavaScript or data processing.
AI-generated description