VOOZH about

URL: https://www.geeksforgeeks.org/css/tailwind-css-backdrop-grayscale/

⇱ Tailwind CSS Backdrop Grayscale - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Tailwind CSS Backdrop Grayscale

Last Updated : 23 Jul, 2025

The Backdrop Grayscale class is used to apply a filter to the image to set the grayscale of the image. Tailwind CSS newly added feature brightness in 2.1 version.

Backdrop Grayscale:

  • backdrop-grayscale-0: This class is used to represents the original element.
  • backdrop-grayscale: This class is used to represents the linear multipliers on the effect of elements.

Syntax:

<element class="filter backdrop-grayscale | 
 backdrop-grayscale-0">
 /* ... */
</element>

Example:


Output:

👁 Image
Comment