Is it possible to add a sparkle effect using Sass and adjust the timing of the animation? I want the time between opacity changes to decrease gradually until the custom property $time reaches 0.1, at which point the animation should stop. How can I achieve this effect? Additionally, the output CSS file shows a space between the $time variable and the "s" for seconds. Is there a way to automatically remove this space?
$time: 1*0.9;
@keyframes sparkle {
from { opacity: 1; }
to { opacity: 0; }
}
.progress {
animation: sparkle ($time)s infinite alternate;
}
Any insights or suggestions would be greatly appreciated!