Filter Animation (Premium)
Examples
Changes opacity from 0 to 1
.df-animation {
animation: OpacityAnimation;
animation-duration: 2s;
}
@keyframes OpacityAnimation {
0% {opacity: 0;}
100% {opacity: 1;}
}Makes elements first grey and then gives them color
.df-animation {
animation: GreyscaleAnimation;
animation-duration: 2s;
}
@keyframes GreyscaleAnimation {
0% {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
100% {
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
}
}
Combine Animations
Appear animation
Where to add custom CSS?
Where to add custom CSS?Last updated