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


Tailwind CSS version

Utilities for applying blur filters to an element.

Default class reference

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


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

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


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

<div class="filter blur-sm md: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 blur utilities.

You can control which variants are generated for the blur utilities by modifying the blur 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: {
        // ...
+       blur: ['hover', 'focus'],


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

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