EffectsBackdrop Blur

Backdrop Blur

Control background blur filters of an element.

Newly available

This feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Chrome
Edge
Firefox
Safari

Usage

sm
md
lg
<div class="d-g g-16 gtc-1 sm:gtc-3">
<div class="d-32 p-r">
<img class="d-full of-c" src="/img/mountain.jpg" />
<div class="ai-c bf-b-sm d-f d-22 i-0 jc-c m-auto p-a c-white">sm</div>
</div>
<div class="d-32 p-r">
<img class="d-full of-c" src="/img/mountain.jpg" />
<div class="ai-c bf-b-md d-f d-22 i-0 jc-c m-auto p-a c-white">md</div>
</div>
<div class="d-32 p-r">
<img class="d-full of-c" src="/img/mountain.jpg" />
<div class="ai-c bf-b-lg d-f d-22 i-0 jc-c m-auto p-a c-white">lg</div>
</div>
</div>

Responsive Design

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

Target viewport sizes with breakpoint prefixes.

sm:bf-b-[value]
Small≥640px
md:bf-b-[value]
Medium≥768px
lg:bf-b-[value]
Large≥1024px
xxl:bf-b-[value]
Extra Large≥1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:bf-b-[value]