CSS gradients, SVG, Tailwind and fast, beautiful web backgrounds.
827 guides · 12 topics
7 min read
Three feature cards look like one product only when they share a ground. Here is how to crop, mirror and zoom that ground, and the grid that holds the row.
7 min read
A ground that belongs to the product, with the headline on a calm patch of colour, is what makes a SaaS first screen feel like a brand worth trying.
7 min read
Paste a link in Slack and the channel either shows your product or a naked URL. The difference is one image, a few tags, and knowing what Slack fetches.
7 min read
A pre-launch page has one job. Here is how to write the line, build an accessible email form, design the moment after the click and make the page, the share card and the launch post look like one brand.
7 min read
Every site has a page nobody meant to visit. Make it the one that still feels like your product, sends people somewhere useful and tells search engines the truth.
7 min read
GitHub never published a README banner size. Choose a frame that can share a ground with your social preview, then export a light file and a dark file.
7 min read
Your page looks right, the tag is there, and the preview is still blank or stuck on an old picture. Here is the order to check things in, and how to clear each platform's cache.
6 min read
Every part of linear-gradient() explained with a live example beside its code, from the default direction to hard stops, layered sheens and smoother OKLCH blends.
5 min read
radial-gradient() draws colour outwards from a point. Here is every part of it, with live examples, plus the layering tricks behind soft glows, spotlights and vignettes.
4 min read
conic-gradient() sweeps colour around a point like the hand of a clock. That one idea draws colour wheels, pie charts, donut charts, metallic sheen and starbursts.
5 min read
There is no mesh-gradient() in CSS. Here is the layering method that fakes one convincingly, the blur and grain that finish it, and when an image or a shader is the better call.
5 min read
Three lines of CSS put a gradient inside your letters. Making it readable, robust and tasteful takes a few more, and knowing when to leave the text plain.
5 min read
border-color does not take a gradient, so every gradient outline is a workaround. Here are the four that matter, what each can and cannot do, and which to reach for.
4 min read
Gradients cannot be animated directly, but everything around them can. Four techniques, what each costs the browser, and how to keep motion calm and optional.
5 min read
Most dull, grey-middled gradients are not a colour problem but a maths problem. Two words, in oklch, change where the browser does the maths.
5 min read
A faint layer of noise hides banding and makes flat screen colour feel like print or film. Here is the SVG filter behind it, tuned and ready to paste.
5 min read
Tailwind v4 renamed its gradient utilities, added angles, radial and conic gradients, and switched the default blend to oklab. Here is the whole system, with the CSS each class produces.
5 min read
SVG has its own gradient system, older than CSS gradients and able to do things they cannot: colour a stroke, fill a word, share one gradient across many shapes, and fade anything with a mask.
4 min read
Most gradient buttons look cheap for the same few reasons: too many hues, a hover that jumps, and text that fades into the light end. Here is the recipe that avoids all three.
6 min read
A static CSS gradient is almost free. The costs come from what people do with gradients: huge blurs, backgrounds that repaint on scroll, and animations that never stop. Here is how to tell the difference.
5 min read
Hard colour stops turn gradients into shapes, and background-size turns shapes into tiles. With those two ideas you can draw most classic patterns in a few lines, with no image files.
5 min read
Figma makes a gradient in two clicks and a good one in twenty. Here is the fast path through the gradient editor, plus the fixes for grey middles, banding and CSS that does not match.
7 min read
Some gradients on the web drift, glow and shimmer in a way no image or CSS rule can. They are shaders. Here is how they work, in words a designer can use.
6 min read
Gradients look wonderful in a browser and unpredictable in an inbox. Build them in layers, and every reader gets something that looks intended.