A UI background starting as white at the top with gray grid lines, fading into a vibrant teal-to-purple gradient at the bottom.

Fading Grid Gradient Background

demo & code

This Fading Grid Gradient Background creates a clean, architectural aesthetic suitable for SaaS landing pages or documentation sites. It features a technical vertical grid pattern that gently dissolves into a vibrant teal-and-purple gradient at the bottom. The effect mimics a “horizon” line, adding depth and structure to an otherwise flat page without using any images.

Level: Beginner
Browser Support: Chrome 80+, Edge 80+, Firefox 53+, Safari 15.4+
CSS-Only Pattern: Circles

CSS-Only Pattern: Circles

An elegant, geometrically complex background in blue tones that looks like a vector illustration but weighs only a few bytes and scales easily.

See the Pen CSS-Only Pattern: Circles.

Scalable CSS Radial Gradient Pattern

Scalable CSS Radial Gradient Pattern

A pure CSS pattern created by overlaying five radial-gradient declarations on a single element. The main feature is that all ring sizes and their count depend on a couple of CSS variables, making the pattern fully scalable using calc().

Intersecting Diagonals Pattern

Intersecting Diagonals Pattern

A pattern generated with just one background property, showcasing advanced use of CSS gradients and background-size to create a complex, repeating texture, with flexible customization via custom CSS properties.

See the Pen Intersecting Diagonals Pattern.

CSS-Only Pattern - Waves

CSS-Only Pattern - Waves

A lightweight and effective demo showcasing a complex background pattern created entirely with pure CSS gradients. The result is a dynamic, scalable background without the need for any image files or JavaScript.

See the Pen CSS-Only Pattern - Waves.

The Half-Rombes Pattern

The Half-Rombes Patternexternal link

The use of the atan() function in SCSS to calculate the angles for a conic-gradient, which allows for the creation of a complex geometric pattern. The entire page background is set with a single background property, demonstrating the power and conciseness of modern CSS.

Pure CSS Rain Curtain Tessellated Pattern

Pure CSS Rain Curtain Tessellated Patternexternal link

A complex geometric background implemented in pure CSS using layered radial and conic gradients. By leveraging CSS variables, this pattern is easily scalable and customizable for any color scheme in modern web UI designs.