Just-in-Time: The Next Generation of Tailwind CSS
Tailwind CSS on GitHub

Backdrop Blur

Tailwind CSS version

Utilities for applying backdrop blur filters to an element.

Default class reference

backdrop-blur-0--tw-backdrop-blur: blur(0);
backdrop-blur-sm--tw-backdrop-blur: blur(4px);
backdrop-blur--tw-backdrop-blur: blur(8px);
backdrop-blur-md--tw-backdrop-blur: blur(12px);
backdrop-blur-lg--tw-backdrop-blur: blur(16px);
backdrop-blur-xl--tw-backdrop-blur: blur(24px);
backdrop-blur-2xl--tw-backdrop-blur: blur(40px);
backdrop-blur-3xl--tw-backdrop-blur: blur(64px);


Use the backdrop-blur-{amount?} utilities alongside the backdrop-filter utility to blur an element.

<div class="backdrop-filter backdrop-blur-lg ...">
  <!-- ... -->


To control an element's backdrop blur at a specific breakpoint, add a {screen}: prefix to any existing backdrop blur utility. For example, use md:backdrop-blur-lg to apply the backdrop-blur-lg utility at only medium screen sizes and above.

<div class="backdrop-filter backdrop-blur-sm md:backdrop-blur-lg ...">
  <!-- ... -->

For more information about Tailwind's responsive design features, check out the Responsive Design documentation.



By default, only responsive variants are generated for backdrop blur utilities.

You can control which variants are generated for the backdrop blur utilities by modifying the backdropBlur property in the variants section of your tailwind.config.js file.

For example, this config will also generate hover and focus variants:

  // tailwind.config.js
  module.exports = {
    variants: {
      extend: {
        // ...
+       backdropBlur: ['hover', 'focus'],


If you don't plan to use the backdrop blur utilities in your project, you can disable them entirely by setting the backdropBlur property to false in the corePlugins section of your config file:

  // tailwind.config.js
  module.exports = {
    corePlugins: {
      // ...
+     backdropBlur: false,