Blur In Animation
A blur in animation for elements
Demo
MAX
Acquire the MAX Plan
Unlock unlimited potential with our most advanced features and priority support.
Blur In Animation
This is a simple blur in animation that can be used for elements entering the viewport.
Installation
Copy and paste the following code into your project.
Add the class animate-blur-in
to the element you want to animate.
@layer utilities {
.animate-blur-in {
animation: blurIn 0.7s ease-out forwards;
}
@keyframes blurIn {
from {
filter: blur(10px);
opacity: 0;
}
to {
filter: blur(0);
opacity: 1;
}
}
}
Use the class animate-blur-in
to apply the animation to an element.
<div class="animate-blur-in">
<!-- Your content here -->
</div>