Web Awesome / Dialog

Blur what’s behind the dialog.

<wa-dialog> accepts a --backdrop-filter custom property. Set it to blur() to blur the page behind the dialog.

wa-dialog {
  --backdrop-filter: blur(8px);
}
  1. 01Open the dialog.
  2. 02Drag the slider.
  3. 03Copy the CSS.
Open dialog

Web Awesome Dialog

The blur comes from the --backdrop-filter custom property. Drag the slider to change it.

wa-dialog {
  --backdrop-filter: blur(8px);
}

Backdrop blur 0 8 16 24 Close Copy CSS Copied