Using SVG patterns for backgrounds in the Web

Some time ago I needed to make a repeating pattern for a background of one web page, and not just a simple repeating background (made in CSS with background-repeat), but a pattern overlayed with a gradient, so it slowly changed color from one side of the page to the other.…