Backdrop Brightness

    v2.1+

    Utilities for applying backdrop brightness filters to an element.

    Use the utilities alongside the backdrop-filter utility to control an element’s backdrop brightness.

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

    You can customize which utilities are generated using the backdropBrightness key in the theme section of your tailwind.config.js file.

    Learn more about customizing the default theme in the .

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

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

    Disabling

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