Open In App
Related Articles

Tailwind CSS Backdrop Filter

Improve Article
Save Article
Like Article

Tailwind CSS backdrop filter is used to enable the backdrop of any filter which is used by the filter. It works like the filter class but in opposites direction. In filter class, we have seen that, if we want to use any effect on any element like blur, contrast, brightness, etc then we have to use a filter before that effect. Similarly to disable the effect we have to use backdrop-blur or backdrop-contrast with the backdrop-filter.

Backdrop Filter Classes:

  • backdrop-filter: This class is used to enable backdrop filters
  • backdrop-filter-none: This class is used to remove filters.


<element class="backdrop-filter | backdrop-filter-none">..</element>



<!DOCTYPE html>
    <link href=
<body class="text-center mx-4 ">
    <h1 class="text-green-600 text-5xl font-bold">
    <b>Tailwind CSS Backdrop Filter Class</b>
    <div class=" mx-16 mt-18 h-36 relative">
        <div class="absolute w-full py-18">
            <img class="rounded-lg object-cover" 
        <div class="relative h-32 flex overflow-x-auto space-x-4">
            <div class="flex-shrink-0 border-4 border-green-500 
                        backdrop-filter backdrop-invert w-1/3">
            <div class="flex-shrink-0 border-4 border-green-500 
                        backdrop-filter backdrop-grayscale w-1/3">
            <div class="flex-shrink-0 border-4 border-green-500 
                        backdrop-filter backdrop-blur w-1/3">


Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 23 Mar, 2022
Like Article
Save Article
Similar Reads
Complete Tutorials