Test365i
365i.co.uk
test365i.co.uk/lab

CSS guides

Step-by-step build guides, newest first. Each one is something built on this site, with the code to copy and a live demo. Filter by topic or by what you need.

Build guides

CSS

Frosted glass panels inside a frosted header

A frosted header with frosted dropdown panels needs backdrop-filter in two places, and where you put the first one decides whether the second works. This guide builds both the way the Test365i mega menu does, with the header blur on a pseudo-element so the panels can frost the page behind them.

15 minutes Get the guide
CSS

Badges that colour themselves with the :has() selector

The :has() selector lets an element style itself by what it contains. This guide uses it to colour topic badges by the link inside them, which is how every badge on this site gets its colour, including the ones inside Elementor 4 loops where you cannot add a class per item.

10 minutes Get the guide
CSS

An animated aurora background on an Elementor 4 div block

An aurora background is soft coloured light drifting behind a hero. This guide builds it from three CSS radial gradients on a single Elementor 4 div block, the same layer behind every hero, closing band and menu panel on this site, with no images and no JavaScript.

20 minutes Get the guide
CSS

A spinning gradient border with CSS @property

A spinning gradient border is a coloured ring that turns slowly around a button or panel. This guide builds one with CSS @property and a single class, the same technique running on 20 buttons and panels across this site, with no extra markup and no JavaScript.

15 minutes Get the guide