The Refract Journal

Articles on CSS, design and the web

Practical articles on CSS, interface design and image optimisation, written for people who build websites.

Articles, page 3

CSS techniques

CSS mesh gradients without images

CSS has no mesh gradient function, but layered radial gradients get you the same soft, flowing look in a few hundred bytes. Here is how they work, how to pick colours, and how to animate them.

4 min read

Put it into practice

All tools →