Modules / Styling

Styling: backdrop filter

Backdrop filter

Blur, saturate and brighten whatever sits behind an element, for a frosted-glass look. It works on every element, with breakpoints and hover.

#26 of 39 modules by votes

  • On by default
  • Needs Bricks 2.4 or newer
  • Tested with Bricks 2.4.3
Recording: on a half-transparent card over a photo of the kiln, someone sets Blur to 14 and Saturate to 140, and the photo behind the card frosts over.Recorded in Bricks 2.4.3

How to use it

  1. Give the element a semi-transparent background. Without one, the effect does not show.
  2. Open Style > CSS and find the Backdrop filter block.
  3. Set Blur with a unit. The default is 0px.
  4. Optionally set Saturate, Brightness and Contrast as percentages (100 leaves the backdrop unchanged), Grayscale, Invert and Sepia (0 to 100), Hue rotate in degrees, and Opacity of the effect (100 is full).

Each field works alone. A value you set only at one breakpoint or on hover still combines with the others.

Where it appears in Bricks

Style tab > CSS, on every element, in a Backdrop filter block after Bricks' CSS Filters. It works in global classes too.

Limits

  • Like any filter, it makes fixed-position children position against this element. A mobile menu inside a sticky header is the usual case.
  • Kiln also writes the -webkit- prefixed property, for Safari before version 18.
  • Every value except Hue rotate is 0 or more, and Hue rotate takes negative degrees too. Grayscale, Invert, Sepia and Opacity stop at 100.
  • Kiln defines the filter list once for the whole page, and each element fills in its own values. A page built without Kiln's styles loaded (for example a Bricks component inside the block editor) shows no backdrop filter.

Settings

Bricks > Kiln, open the module's settings:

  • Add these controls to: All elements (the default), Layout and media elements, or The elements ticked below. Bricks loads every control once per element type into the builder, so fewer elements keep the builder lighter. With every Kiln style module set to layout and media elements, the builder loads about 40% less control data. Values you already set on other elements stay on the page; the builder stops showing those fields there.

Requirements

Bricks 2.4 or newer.