Last active
May 18, 2025 10:55
-
-
Save mattsafaii/1b9444d34b2ee5608b90ba7d47ff3732 to your computer and use it in GitHub Desktop.
Gradient bottom blur effect with Tailwind
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="pointer-events-none fixed right-0 bottom-0 left-0 h-64"> | |
<div | |
class="absolute inset-0 bg-transparent [mask-image:linear-gradient(to_top,currentColor_0%,transparent_100%)] backdrop-blur-xs" | |
></div> | |
<div | |
class="absolute inset-0 bg-transparent [mask-image:linear-gradient(to_top,currentColor_0%,transparent_83.3333%)] backdrop-blur-sm" | |
></div> | |
<div | |
class="absolute inset-0 bg-transparent [mask-image:linear-gradient(to_top,currentColor_0%,transparent_66.6667%)] backdrop-blur-md" | |
></div> | |
<div | |
class="absolute inset-0 bg-transparent [mask-image:linear-gradient(to_top,currentColor_0%,transparent_50%)] backdrop-blur-lg" | |
></div> | |
<div | |
class="absolute inset-0 bg-transparent [mask-image:linear-gradient(to_top,currentColor_0%,transparent_33.3333%)] backdrop-blur-xl" | |
></div> | |
<div | |
class="absolute inset-0 bg-transparent [mask-image:linear-gradient(to_top,currentColor_0%,transparent_16.6667%)] backdrop-blur-2xl" | |
></div> | |
<div | |
class="absolute inset-0 bg-transparent [mask-image:linear-gradient(to_top,currentColor_0%,transparent_0%)] backdrop-blur-3xl" | |
></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment