# Progressive Blur

> A blur that builds up toward an edge with no hard line, eight backdrop-filter layers deep. Under a photo caption, under a bar on top of a list, at the bottom of what scrolls. CSS only.

Image effects · image, blur, caption, scroll, header, glass · HTML and CSS only · no dependencies · updated 2026-11-05
Demo: https://kodza.dev/components/progressive-blur/
Source on GitHub: https://github.com/kodza-dev/kodza/tree/main/components/progressive-blur

## Files

The code below, served as files: byte for byte what the Kodza site copies (the CSS includes its theme guard).

- [`kodza-progressive-blur.css`](https://kodza.dev/registry/progressive-blur/kodza-progressive-blur.css) · 15.9 KB
- [`kodza-progressive-blur.html`](https://kodza.dev/registry/progressive-blur/kodza-progressive-blur.html) · 5.5 KB · the markup, to adapt and paste into your page

**Can you run shell commands? Download the CSS, don't retype it.** Retyping costs thousands of tokens and can drop or change lines of the CSS. Put the files where your stack expects them (Use it says where: change the `-o` paths):

```bash
curl -fsSL --create-dirs -o kodza/kodza-progressive-blur.css https://kodza.dev/registry/progressive-blur/kodza-progressive-blur.css
```

Then load the file from your page as Use it shows, instead of pasting the content. The HTML is the part you adapt (text, links, modifiers): paste it from the Code section. Copy the CSS from the Code section only if you can't run commands, exactly as it is. (Windows PowerShell: `curl.exe`.)

**Its images are free to use in what you ship** (Kodza house images, Kodza License). The HTML loads them from kodza.dev, whose addresses can change: copy them into the project and point each `src` to the copy (a Claude artifact embeds them instead, as Use it says).

```bash
curl -fsSL --create-dirs -o kodza/media/kz-columns-1400.webp https://kodza.dev/media/kz-columns-1400.webp
curl -fsSL --create-dirs -o kodza/media/kz-columns-2400.webp https://kodza.dev/media/kz-columns-2400.webp
curl -fsSL --create-dirs -o kodza/media/kz-overflow-1400.webp https://kodza.dev/media/kz-overflow-1400.webp
curl -fsSL --create-dirs -o kodza/media/kz-steps-1400.webp https://kodza.dev/media/kz-steps-1400.webp
curl -fsSL --create-dirs -o kodza/media/kz-float-1400.webp https://kodza.dev/media/kz-float-1400.webp
curl -fsSL --create-dirs -o kodza/media/kz-stack-1400.webp https://kodza.dev/media/kz-stack-1400.webp
curl -fsSL --create-dirs -o kodza/media/kz-arch-1400.webp https://kodza.dev/media/kz-arch-1400.webp
curl -fsSL --create-dirs -o kodza/media/kz-block-1400.webp https://kodza.dev/media/kz-block-1400.webp
curl -fsSL --create-dirs -o kodza/media/kz-table-1400.webp https://kodza.dev/media/kz-table-1400.webp
```

## API

- Root: `.kodza-progressive-blur`
- Variables (set them on the root element itself: it declares its own defaults):
  - `--kz-progressive-blur-height: 200px` — the blur at the bottom: about twice the caption on it
  - `--kz-progressive-blur-top-height: 72px` — the blur under a bar on top: the bar and a little more
  - `--kz-progressive-blur-strength: 30px` — at the very edge; each layer before it is half as strong
  - `--kz-progressive-blur-tint: rgba(242, 242, 240, 0.62)` — a veil that thickens toward the edge, for the words on it
  - `--kz-progressive-blur-ratio: 4 / 5`
  - `--kz-progressive-blur-radius: calc(16px * var(--kz-radius-scale, 1))`
  - `--kz-progressive-blur-ink: #0a0a0a`
  - `--kz-progressive-blur-muted: rgba(10, 10, 10, 0.66)`
  - `--kz-progressive-blur-placeholder: rgba(10, 10, 10, 0.06)` — under a photo while it loads
  - `--kz-progressive-blur-list-height: 450px`
  - `--kz-progressive-blur-surface: #ffffff`
  - `--kz-progressive-blur-border: rgba(10, 10, 10, 0.1)`
  - `--kz-progressive-blur-line: rgba(10, 10, 10, 0.08)`
  - `--kz-progressive-blur-mono: var(--kz-font-mono, "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace)`
- Modifiers: `.kodza-progressive-blur--list`

## Images

The shape of each image slot, measured in the demo at 1440 × 900 (desktop) and 390 × 844 (mobile). Where the shape is fixed, the frame crops the image to it: export in that shape, keep the subject near the centre, at twice the widest size shown (sharp on retina screens).

| Slot | Desktop | Mobile | Widest shown |
| --- | --- | --- | --- |
| `.kodza-progressive-blur__image` | 4:5 | 4:5 | 360 px |
| `.kodza-progressive-blur__thumb` | 1:1 | 1:1 | 52 px |

## Dark mode

The values Kodza uses on a dark background (`#0a0a0a`). For a page that follows the system theme, add them after the component's CSS:

```css
@media (prefers-color-scheme: dark) {
  .kodza-progressive-blur {
    --kz-progressive-blur-tint: rgba(10, 10, 10, 0.7);
    --kz-progressive-blur-ink: #f2f2f0;
    --kz-progressive-blur-muted: rgba(242, 242, 240, 0.7);
    --kz-progressive-blur-placeholder: rgba(255, 255, 255, 0.06);
  }

  .kodza-progressive-blur--list {
    --kz-progressive-blur-tint: rgba(22, 22, 22, 0.72);
    --kz-progressive-blur-surface: #161616;
    --kz-progressive-blur-border: rgba(255, 255, 255, 0.12);
    --kz-progressive-blur-line: rgba(255, 255, 255, 0.08);
  }
}
```

A site with its own theme switch puts the same rules under its dark selector instead (`[data-theme="dark"] .kodza-progressive-blur { … }`); a single dark section, under that section's class.

Its images have dark versions next to them (`kz-columns-1400.webp` → `kz-columns-dark-1400.webp`). To swap them on a dark page: `<picture><source media="(prefers-color-scheme: dark)" srcset="…-dark-….webp"><img …></picture>`.

## Use it

### Plain HTML page

- CSS: `kodza/kodza-progressive-blur.css` next to the page (the Files commands as they are), linked in `<head>`: `<link rel="stylesheet" href="kodza/kodza-progressive-blur.css">`. Without a shell, paste it in a `<style>` in `<head>` instead. It only touches `kodza-` classes.
- HTML: where the component goes. Paste it as many times as you need: instances never interfere.
- No JS.
- Restyle with the `--kz-…` variables, set on the component's root element itself (the root declares its own defaults, so a value on an ancestor is ignored), and with the modifiers / attributes listed under API.
- Font: it takes the page's own. A site with its own type sets it once for every Kodza component, on `:root`, never by editing the CSS (unset, nothing changes): `--kz-font-display`, the display face (headings, big numbers, wordmarks); `--kz-font-display-weight`, its weight; `--kz-font-display-scale`, a multiplier on its sizes (1 by default); `--kz-font-display-tracking`, its letter-spacing; `--kz-font-display-case`, its case (`uppercase`…); `--kz-font-label`, the face of the small labels (meta, captions, counters, hints, footer links, button labels); `--kz-font-label-size`, their size, one for all of them (`11px`…); `--kz-font-label-weight`, their weight; `--kz-font-label-tracking`, their letter-spacing; `--kz-font-label-case`, their case (`uppercase`…; code and units keep theirs); `--kz-font-label-leading`, their line-height (`1.45`…; buttons, pills and keys keep their box); `--kz-font-mono`, the monospace face (code, labels, counters). The Kodza look is Geist: `<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap">`.
- Corners: a site with its own shapes sets them once for every Kodza component, on `:root`, never by editing the CSS (unset, nothing changes): `--kz-radius-scale` multiplies every corner (`0` square, `0.5` softer, `1` Kodza).

### Claude artifact (claude.ai)

- Paste the CSS in a `<style>`, in the artifact itself: it loads stylesheets only from Google Fonts and scripts only from a few CDNs, so no `<link>` or `<script src>` to Kodza.
- Writing the artifact file with a shell? Insert the downloaded files (Files) with a command instead of retyping them: a line `KODZA-CSS` alone inside the `<style>`, then `sed -e '/^KODZA-CSS$/{r kodza/kodza-progressive-blur.css' -e 'd' -e '}' page.html > artifact.html`.
- Font: load Geist from Google Fonts (allowed): `<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap">`. A site with its own type sets it once for every Kodza component, on `:root`, never by editing the CSS (unset, nothing changes): `--kz-font-display`, the display face (headings, big numbers, wordmarks); `--kz-font-display-weight`, its weight; `--kz-font-display-scale`, a multiplier on its sizes (1 by default); `--kz-font-display-tracking`, its letter-spacing; `--kz-font-display-case`, its case (`uppercase`…); `--kz-font-label`, the face of the small labels (meta, captions, counters, hints, footer links, button labels); `--kz-font-label-size`, their size, one for all of them (`11px`…); `--kz-font-label-weight`, their weight; `--kz-font-label-tracking`, their letter-spacing; `--kz-font-label-case`, their case (`uppercase`…; code and units keep theirs); `--kz-font-label-leading`, their line-height (`1.45`…; buttons, pills and keys keep their box); `--kz-font-mono`, the monospace face (code, labels, counters).
- Corners: a site with its own shapes sets them once for every Kodza component, on `:root`, never by editing the CSS (unset, nothing changes): `--kz-radius-scale` multiplies every corner (`0` square, `0.5` softer, `1` Kodza).
- Images: the artifact blocks every other host, `kodza.dev` included, without an error. Embed each one as a `data:` URI, with a command if you can run one (`curl -s <url> | base64`; the 1400 px files weigh 10 to 30 KB), never by typing base64 out. If you can't run commands, keep the `<img>` with its `width` and `height`, and tell the user the picture stays blank inside the artifact.
- Dark mode: the viewer sets `data-theme="dark"` or `"light"` on `<html>`, or nothing when it follows the system. Write the Dark mode rules twice: inside `@media (prefers-color-scheme: dark)` with `:root:not([data-theme="light"])` in front of each selector, and with `:root[data-theme="dark"]` in front of each selector.

### WordPress

- HTML: a **Custom HTML** block (or a pattern / template part). WordPress keeps this markup as it is only for users allowed to post unfiltered HTML (Administrators; Super Admins on multisite): for anyone else it strips tags such as `<svg>`, `<input>` or `<dialog>`, so add it from the theme (a pattern or template part) instead.
- CSS: the downloaded file goes in the theme, under `wp-content/themes/<your-theme>/kodza/` (the child theme if there is one), enqueued from its functions.php (or a code-snippets plugin):
  ```php
  add_action('wp_enqueue_scripts', function () {
    $dir = get_stylesheet_directory() . '/kodza/';
    $uri = get_stylesheet_directory_uri() . '/kodza/';
    wp_enqueue_style('kodza-progressive-blur', $uri . 'kodza-progressive-blur.css', [], filemtime($dir . 'kodza-progressive-blur.css'));
  });
  ```
  Scoped to `kodza-` classes, the CSS never touches the theme.
- No access to the theme files? The CSS can also go, as it is, in **Appearance → Customize → Additional CSS** (classic theme) or **Styles → Additional CSS** in the Site Editor (block theme).
- No JS.
- Colours: it takes the colour of the text around it (or keeps its own monochrome): nothing to point at the theme.
- WordPress turns straight quotes and `--` into typographic ones in the text of a Custom HTML block (not inside `<code>` or `<pre>`).

#### With Elementor

- HTML: an **HTML** widget (Elementor shows it to administrators only). It keeps the code exactly as pasted, straight quotes included.
- CSS: as above. Elementor's Site Settings → Theme Style styles every button, field, link and image of the page, components included; the theme guard at the end of the CSS keeps the component's buttons, fields and link colours as they are.
- No child theme: the CSS can go in the HTML widget instead, in a `<style>` before the HTML.

### Shopify

- Files: `assets/kodza-progressive-blur.css` (the Files commands with `-o assets/…`).
- In the section: `{{ 'kodza-progressive-blur.css' | asset_url | stylesheet_tag }}`, then the HTML.

### React / Next.js

- Files, side by side (e.g. in `components/kodza/`): `ProgressiveBlur.tsx` (below), the CSS block under Code saved as `progressive-blur.css`, both as they are. The HTML block is already inside the component: skip it.
- Use it: `import { ProgressiveBlur } from '@/components/kodza/ProgressiveBlur';` then `<ProgressiveBlur />`. Props: `variant` ("list", or several in an array), `vars` (the `--kz-…` variables listed under API, e.g. `vars={{ '--kz-progressive-blur-height': … }}`), `className`, `style` and the other props of its `<figure>` (`onClick`, `aria-…`).
- Next.js App Router: it is a Client Component already (`'use client'`). Pages Router: Next.js takes global CSS only in `pages/_app`, so move the `import './progressive-blur.css'` line there.

```tsx
'use client';
// Kodza — Progressive Blur, for React. From https://kodza.dev/components/progressive-blur/
// Kodza License: free to use, client work included. Not to resell or redistribute, ported or not: https://kodza.dev/docs/#print-license
// Next to this file: progressive-blur.css, the component's CSS from Kodza, as they are.
// Yours to edit: the markup is plain JSX below.
import { useRef, type ComponentPropsWithoutRef, type ComponentRef, type CSSProperties } from 'react';
import './progressive-blur.css';

type Variant = "list";

export type ProgressiveBlurProps = Omit<ComponentPropsWithoutRef<'figure'>, "children" | "variant" | "vars"> & {
  /** Modifier class(es): .kodza-progressive-blur--list */
  variant?: Variant | Variant[];
  /** Settings, as CSS variables on the root */
  vars?: {
    /** the blur at the bottom: about twice the caption on it — default: 200px */
    "--kz-progressive-blur-height"?: string | number;
    /** the blur under a bar on top: the bar and a little more — default: 72px */
    "--kz-progressive-blur-top-height"?: string | number;
    /** at the very edge; each layer before it is half as strong — default: 30px */
    "--kz-progressive-blur-strength"?: string | number;
    /** a veil that thickens toward the edge, for the words on it — default: rgba(242, 242, 240, 0.62) */
    "--kz-progressive-blur-tint"?: string | number;
    /** default: 4 / 5 */
    "--kz-progressive-blur-ratio"?: string | number;
    /** default: calc(16px * var(--kz-radius-scale, 1)) */
    "--kz-progressive-blur-radius"?: string | number;
    /** default: #0a0a0a */
    "--kz-progressive-blur-ink"?: string | number;
    /** default: rgba(10, 10, 10, 0.66) */
    "--kz-progressive-blur-muted"?: string | number;
    /** under a photo while it loads — default: rgba(10, 10, 10, 0.06) */
    "--kz-progressive-blur-placeholder"?: string | number;
    /** default: 450px */
    "--kz-progressive-blur-list-height"?: string | number;
    /** default: #ffffff */
    "--kz-progressive-blur-surface"?: string | number;
    /** default: rgba(10, 10, 10, 0.1) */
    "--kz-progressive-blur-border"?: string | number;
    /** default: rgba(10, 10, 10, 0.08) */
    "--kz-progressive-blur-line"?: string | number;
    /** default: var(--kz-font-mono, "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace) */
    "--kz-progressive-blur-mono"?: string | number;
  };
  className?: string;
};

export function ProgressiveBlur({ variant, vars, className, style, ...rest }: ProgressiveBlurProps) {
  const ref = useRef<ComponentRef<'figure'>>(null);
  const classes = ["kodza-progressive-blur", ...([] as string[]).concat(variant ?? []).map((v) => `kodza-progressive-blur--${v}`), className].filter(Boolean).join(' ');

  return (
    <figure {...rest} className={classes} style={{ ...vars, ...style } as CSSProperties} ref={ref}>
      <img className="kodza-progressive-blur__image" src="https://kodza.dev/media/kz-columns-1400.webp" srcSet="https://kodza.dev/media/kz-columns-1400.webp 1120w, https://kodza.dev/media/kz-columns-2400.webp 1920w" sizes="(max-width: 640px) 100vw, 400px" width="1120" height="1400" alt="A row of square concrete pillars under a flat roof, casting striped shadows" loading="lazy" />
      {' '}
      <span className="kodza-progressive-blur__blur" aria-hidden="true">
        <span className="kodza-progressive-blur__layer" />
        <span className="kodza-progressive-blur__layer" />
        <span className="kodza-progressive-blur__layer" />
        <span className="kodza-progressive-blur__layer" />
        <span className="kodza-progressive-blur__layer" />
        <span className="kodza-progressive-blur__layer" />
        <span className="kodza-progressive-blur__layer" />
        <span className="kodza-progressive-blur__layer" />
      </span>
      <figcaption className="kodza-progressive-blur__caption">
        <span className="kodza-progressive-blur__label">Colonnade · Granville</span>
        {' '}
        <span className="kodza-progressive-blur__title">Twelve Pillars</span>
        {' '}
        <span className="kodza-progressive-blur__text">No grey box under the caption. Just the photo, going soft.</span>
      </figcaption>
    </figure>
  );
}
```

## Code

```html
<figure class="kodza-progressive-blur">
  <img class="kodza-progressive-blur__image" src="https://kodza.dev/media/kz-columns-1400.webp" srcset="https://kodza.dev/media/kz-columns-1400.webp 1120w, https://kodza.dev/media/kz-columns-2400.webp 1920w" sizes="(max-width: 640px) 100vw, 400px" width="1120" height="1400" alt="A row of square concrete pillars under a flat roof, casting striped shadows" loading="lazy">
  <span class="kodza-progressive-blur__blur" aria-hidden="true"><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span></span>
  <figcaption class="kodza-progressive-blur__caption">
    <span class="kodza-progressive-blur__label">Colonnade · Granville</span>
    <span class="kodza-progressive-blur__title">Twelve Pillars</span>
    <span class="kodza-progressive-blur__text">No grey box under the caption. Just the photo, going soft.</span>
  </figcaption>
</figure>

<div class="kodza-progressive-blur kodza-progressive-blur--list">
  <div class="kodza-progressive-blur__bar"><span class="kodza-progressive-blur__heading">Index</span><span class="kodza-progressive-blur__count">8 projects</span></div>
  <div class="kodza-progressive-blur__scroll" role="region" aria-label="Project index" tabindex="0">
    <ul class="kodza-progressive-blur__list">
      <li class="kodza-progressive-blur__item"><img class="kodza-progressive-blur__thumb" src="https://kodza.dev/media/kz-overflow-1400.webp" width="1400" height="1400" alt="" loading="lazy"><span class="kodza-progressive-blur__name">Falaise House</span><span class="kodza-progressive-blur__place">Étretat</span><span class="kodza-progressive-blur__year">2025</span></li>
      <li class="kodza-progressive-blur__item"><img class="kodza-progressive-blur__thumb" src="https://kodza.dev/media/kz-steps-1400.webp" width="1400" height="933" alt="" loading="lazy"><span class="kodza-progressive-blur__name">The Steps</span><span class="kodza-progressive-blur__place">Le Havre</span><span class="kodza-progressive-blur__year">2024</span></li>
      <li class="kodza-progressive-blur__item"><img class="kodza-progressive-blur__thumb" src="https://kodza.dev/media/kz-float-1400.webp" width="1400" height="933" alt="" loading="lazy"><span class="kodza-progressive-blur__name">Low Water</span><span class="kodza-progressive-blur__place">Honfleur</span><span class="kodza-progressive-blur__year">2024</span></li>
      <li class="kodza-progressive-blur__item"><img class="kodza-progressive-blur__thumb" src="https://kodza.dev/media/kz-stack-1400.webp" width="1400" height="1050" alt="" loading="lazy"><span class="kodza-progressive-blur__name">Three Slabs</span><span class="kodza-progressive-blur__place">Dieppe</span><span class="kodza-progressive-blur__year">2023</span></li>
      <li class="kodza-progressive-blur__item"><img class="kodza-progressive-blur__thumb" src="https://kodza.dev/media/kz-arch-1400.webp" width="1400" height="1400" alt="" loading="lazy"><span class="kodza-progressive-blur__name">Round Window</span><span class="kodza-progressive-blur__place">Fécamp</span><span class="kodza-progressive-blur__year">2023</span></li>
      <li class="kodza-progressive-blur__item"><img class="kodza-progressive-blur__thumb" src="https://kodza.dev/media/kz-columns-1400.webp" width="1120" height="1400" alt="" loading="lazy"><span class="kodza-progressive-blur__name">Twelve Pillars</span><span class="kodza-progressive-blur__place">Granville</span><span class="kodza-progressive-blur__year">2022</span></li>
      <li class="kodza-progressive-blur__item"><img class="kodza-progressive-blur__thumb" src="https://kodza.dev/media/kz-block-1400.webp" width="1120" height="1400" alt="" loading="lazy"><span class="kodza-progressive-blur__name">Single Block</span><span class="kodza-progressive-blur__place">Cherbourg</span><span class="kodza-progressive-blur__year">2022</span></li>
      <li class="kodza-progressive-blur__item"><img class="kodza-progressive-blur__thumb" src="https://kodza.dev/media/kz-table-1400.webp" width="1400" height="1050" alt="" loading="lazy"><span class="kodza-progressive-blur__name">Sea Table</span><span class="kodza-progressive-blur__place">Yport</span><span class="kodza-progressive-blur__year">2021</span></li>
    </ul>
  </div>
  <span class="kodza-progressive-blur__blur kodza-progressive-blur__blur--top" aria-hidden="true"><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span></span>
  <span class="kodza-progressive-blur__blur" aria-hidden="true"><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span><span class="kodza-progressive-blur__layer"></span></span>
</div>
```

```css
/* Kodza License: free to use, client work included. Not to resell or redistribute, ported or not: https://kodza.dev/docs/#print-license */
/* Kodza — Progressive Blur
   A blur that builds up toward an edge with no hard line: eight backdrop-filter layers, each
   twice as strong as the one before, blended by bands of mask 12.5% wide. Under a caption on a
   photo, under a bar on top of a list, at the bottom of anything that scrolls: the content goes
   under it and is never cut. CSS only. Everything is tuned with the --kz-progressive-blur-*
   variables; variants: (default) a photo with its caption, --list. */
.kodza-progressive-blur {
  --kz-progressive-blur-height: 200px; /* the blur at the bottom: about twice the caption on it */
  --kz-progressive-blur-top-height: 72px; /* the blur under a bar on top: the bar and a little more */
  --kz-progressive-blur-strength: 30px; /* at the very edge; each layer before it is half as strong */
  --kz-progressive-blur-tint: rgba(242, 242, 240, 0.62); /* a veil that thickens toward the edge, for the words on it */
  --kz-progressive-blur-ratio: 4 / 5;
  --kz-progressive-blur-radius: calc(16px * var(--kz-radius-scale, 1));
  --kz-progressive-blur-ink: #0a0a0a;
  --kz-progressive-blur-muted: rgba(10, 10, 10, 0.66);
  --kz-progressive-blur-placeholder: rgba(10, 10, 10, 0.06); /* under a photo while it loads */
  /* The scrolling list */
  --kz-progressive-blur-list-height: 450px;
  --kz-progressive-blur-surface: #ffffff;
  --kz-progressive-blur-border: rgba(10, 10, 10, 0.1);
  --kz-progressive-blur-line: rgba(10, 10, 10, 0.08);
  --kz-progressive-blur-mono: var(--kz-font-mono, "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace);

  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  overflow: clip;
  border-radius: var(--kz-progressive-blur-radius);
  background: var(--kz-progressive-blur-placeholder);
  color: var(--kz-progressive-blur-ink);
}

/* The photo: a real image, cropped by its frame, never stretched */
.kodza-progressive-blur__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  aspect-ratio: var(--kz-progressive-blur-ratio);
  object-fit: cover;
}

/* The blur, on the bottom edge (--top: under a bar on top). It must stay free of opacity, filter,
   mask and isolation: any of them would cut the layers off from what lies under them. */
.kodza-progressive-blur__blur {
  --kz-progressive-blur-to: to bottom;

  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: var(--kz-progressive-blur-height);
  pointer-events: none;
}

.kodza-progressive-blur__blur--top {
  --kz-progressive-blur-to: to top;

  inset: 0 0 auto;
  height: var(--kz-progressive-blur-top-height);
}

/* Each layer blurs what is under it, seen through a band of mask; the bands overlap by half, so
   the strength doubles eight times with no step to see */
.kodza-progressive-blur__layer {
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(var(--kz-progressive-blur-layer));
  backdrop-filter: blur(var(--kz-progressive-blur-layer));
  -webkit-mask-image: var(--kz-progressive-blur-band);
  mask-image: var(--kz-progressive-blur-band);
}

.kodza-progressive-blur__layer:nth-child(1) {
  --kz-progressive-blur-layer: calc(var(--kz-progressive-blur-strength) / 128);
  --kz-progressive-blur-band: linear-gradient(var(--kz-progressive-blur-to), transparent 0%, #000 12.5%, #000 25%, transparent 37.5%);
}

.kodza-progressive-blur__layer:nth-child(2) {
  --kz-progressive-blur-layer: calc(var(--kz-progressive-blur-strength) / 64);
  --kz-progressive-blur-band: linear-gradient(var(--kz-progressive-blur-to), transparent 12.5%, #000 25%, #000 37.5%, transparent 50%);
}

.kodza-progressive-blur__layer:nth-child(3) {
  --kz-progressive-blur-layer: calc(var(--kz-progressive-blur-strength) / 32);
  --kz-progressive-blur-band: linear-gradient(var(--kz-progressive-blur-to), transparent 25%, #000 37.5%, #000 50%, transparent 62.5%);
}

.kodza-progressive-blur__layer:nth-child(4) {
  --kz-progressive-blur-layer: calc(var(--kz-progressive-blur-strength) / 16);
  --kz-progressive-blur-band: linear-gradient(var(--kz-progressive-blur-to), transparent 37.5%, #000 50%, #000 62.5%, transparent 75%);
}

.kodza-progressive-blur__layer:nth-child(5) {
  --kz-progressive-blur-layer: calc(var(--kz-progressive-blur-strength) / 8);
  --kz-progressive-blur-band: linear-gradient(var(--kz-progressive-blur-to), transparent 50%, #000 62.5%, #000 75%, transparent 87.5%);
}

.kodza-progressive-blur__layer:nth-child(6) {
  --kz-progressive-blur-layer: calc(var(--kz-progressive-blur-strength) / 4);
  --kz-progressive-blur-band: linear-gradient(var(--kz-progressive-blur-to), transparent 62.5%, #000 75%, #000 87.5%, transparent 100%);
}

.kodza-progressive-blur__layer:nth-child(7) {
  --kz-progressive-blur-layer: calc(var(--kz-progressive-blur-strength) / 2);
  --kz-progressive-blur-band: linear-gradient(var(--kz-progressive-blur-to), transparent 75%, #000 87.5%, #000 100%);
}

.kodza-progressive-blur__layer:nth-child(8) {
  --kz-progressive-blur-layer: var(--kz-progressive-blur-strength);
  --kz-progressive-blur-band: linear-gradient(var(--kz-progressive-blur-to), transparent 87.5%, #000 100%);
}

/* The veil, over the layers and not blurred by them */
.kodza-progressive-blur__blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--kz-progressive-blur-to), transparent, var(--kz-progressive-blur-tint) 65%);
}

/* The caption, on the strongest part of the blur */
.kodza-progressive-blur__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0;
  padding: 0 28px 26px;
}

.kodza-progressive-blur__label,
.kodza-progressive-blur__count,
.kodza-progressive-blur__year {
  font-family: var(--kz-font-label, var(--kz-progressive-blur-mono));
  font-size: var(--kz-font-label-size, 11.5px);
  font-weight: var(--kz-font-label-weight, 500);
  letter-spacing: var(--kz-font-label-tracking, 0.04em);
  text-transform: var(--kz-font-label-case, uppercase);
  line-height: var(--kz-font-label-leading, 16px);
  color: var(--kz-progressive-blur-muted);
}

.kodza-progressive-blur__title {
  margin-top: 8px;
  font-family: var(--kz-font-display, inherit);
  font-size: calc(22px * var(--kz-font-display-scale, 1));
  font-weight: var(--kz-font-display-weight, 600);
  letter-spacing: var(--kz-font-display-tracking, -0.02em);
  text-transform: var(--kz-font-display-case, none);
  line-height: 1.2;
}

.kodza-progressive-blur__text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--kz-progressive-blur-muted);
  text-wrap: pretty;
}

/* The list: a card of a fixed height, its bar and both blurs laid over what scrolls */
.kodza-progressive-blur--list {
  --kz-progressive-blur-height: 120px;
  --kz-progressive-blur-tint: rgba(255, 255, 255, 0.72);

  height: var(--kz-progressive-blur-list-height);
  background: var(--kz-progressive-blur-surface);
}

/* The border, drawn over everything, and the focus ring when the list has the keyboard */
.kodza-progressive-blur--list::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--kz-progressive-blur-border);
  pointer-events: none;
}

.kodza-progressive-blur--list:has(.kodza-progressive-blur__scroll:focus-visible)::before {
  box-shadow: inset 0 0 0 2px currentColor;
}

.kodza-progressive-blur__bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  padding: 18px 22px;
}

.kodza-progressive-blur__heading {
  font-family: var(--kz-font-display, inherit);
  font-size: calc(17px * var(--kz-font-display-scale, 1));
  font-weight: var(--kz-font-display-weight, 600);
  letter-spacing: var(--kz-font-display-tracking, -0.02em);
  text-transform: var(--kz-font-display-case, none);
  line-height: 1.2;
}

/* Room on top for the bar, and at the bottom for the last line to rise clear of the blur */
.kodza-progressive-blur__scroll {
  box-sizing: border-box;
  height: 100%;
  padding: 60px 10px calc(var(--kz-progressive-blur-height) - 8px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  outline: none;
}

.kodza-progressive-blur__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kodza-progressive-blur__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--kz-progressive-blur-line);
}

.kodza-progressive-blur__item:first-child {
  border-top-color: transparent;
}

.kodza-progressive-blur__thumb {
  grid-row: 1 / 3;
  display: block;
  width: 52px;
  max-width: none;
  height: 52px;
  margin: 0;
  border-radius: calc(10px * var(--kz-radius-scale, 1));
  object-fit: cover;
  background: var(--kz-progressive-blur-placeholder);
}

.kodza-progressive-blur__name {
  align-self: end;
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.kodza-progressive-blur__place {
  grid-column: 2;
  align-self: start;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--kz-progressive-blur-muted);
}

.kodza-progressive-blur__year {
  grid-column: 3;
  grid-row: 1 / 3;
  font-variant-numeric: tabular-nums;
}

/* kodza-guard 46253f12fd79 — generated by Kodza, do not edit.
   Theme guard: keeps a site's own CSS (WordPress themes, Bootstrap, CSS resets…) off this
   component. :not(#_) is always true and weighs as much as an id, so these lines win over
   theme rules made of classes and tags. Customise the component through its --kz-* variables. */

/* What the browser gives, on everything the component leaves to it */

.kodza-progressive-blur:not(#_) {
  border: revert;
  padding: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-height: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-progressive-blur__image:not(#_) {
  border: revert;
  padding: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-progressive-blur__blur:not(#_),
.kodza-progressive-blur__layer:not(#_),
.kodza-progressive-blur__label:not(#_),
.kodza-progressive-blur__title:not(#_),
.kodza-progressive-blur__text:not(#_),
.kodza-progressive-blur__heading:not(#_),
.kodza-progressive-blur__count:not(#_),
.kodza-progressive-blur__name:not(#_),
.kodza-progressive-blur__place:not(#_),
.kodza-progressive-blur__year:not(#_) {
  box-sizing: revert;
}

.kodza-progressive-blur__caption:not(#_) {
  border: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  float: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-progressive-blur__scroll:not(#_) {
  box-shadow: revert;
  outline-offset: revert;
}

.kodza-progressive-blur__list:not(#_) {
  border: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-progressive-blur__item:not(#_) {
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  border-right-width: revert;
  border-bottom-width: revert;
  border-left-width: revert;
  border-right-style: revert;
  border-bottom-style: revert;
  border-left-style: revert;
  border-right-color: revert;
  border-bottom-color: revert;
  border-left-color: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-progressive-blur__thumb:not(#_) {
  border: revert;
  padding: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-progressive-blur__list:not(#_):where(:not([hidden])) {
  display: revert;
}

.kodza-progressive-blur__list:not(#_):where([hidden]) {
  display: none;
}

.kodza-progressive-blur__blur:not(#_)::after,
.kodza-progressive-blur__scroll:not(#_)::before {
  box-sizing: revert;
}

/* The component's own rules, one step stronger: real buttons and fields, what it sets on tags themes style (links, lists, headings, images…), and the root width (a theme may narrow it, never widen it) */

.kodza-progressive-blur:where(figure):not(#_) {
  position: relative;
  display: block;
  border-radius: var(--kz-progressive-blur-radius);
  background: var(--kz-progressive-blur-placeholder);
  color: var(--kz-progressive-blur-ink);
}

.kodza-progressive-blur__image:not(#_) {
  display: block;
  max-width: none;
  margin: 0;
}

.kodza-progressive-blur__caption:not(#_) {
  position: absolute;
  display: flex;
  box-sizing: border-box;
  margin: 0;
  padding: 0 28px 26px;
}

.kodza-progressive-blur__scroll:not(#_) {
  outline: none;
}

.kodza-progressive-blur__list:not(#_) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kodza-progressive-blur__item:not(#_) {
  display: grid;
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--kz-progressive-blur-line);
}

.kodza-progressive-blur__item:first-child:not(#_) {
  border-top-color: transparent;
}

.kodza-progressive-blur__thumb:not(#_) {
  display: block;
  max-width: none;
  margin: 0;
  border-radius: calc(10px * var(--kz-radius-scale, 1));
  background: var(--kz-progressive-blur-placeholder);
}
```

Free to use, from Kodza (https://kodza.dev).
