hi @nolimits4web , thanks for this great component!
i found out it’s so cpu intensive because of backdrop-filter blur effect (like box-shadow!) ;
there is a trick which is very usable animating heavy effects i want to share.
instead of keyframes or transition of backdrop-filter blur from 0 to 15, we could do this:
.card-backdrop {
transform: translate3d(0, 0, 0);
animation: none;
}
.card-backdrop::after {
backdrop-filter: blur(15px);
position: absolute;
transition: 0.2s all linear;
top: 0;
left: 0;
content: "";
opacity: 0;
width: 100%;
height: 100%;
}
.card-backdrop-in::after {
opacity: 1;
}
this way we animate opacity and it’s super fast and performant, even on low end devices!