Why is -webkit-keyframes not working in my SASS mixin?
- by Tintin81
I have this SASS mixin that should make a button flash:
@mixin background_animation($color) {
-webkit-animation: backgroundAnimation 800ms infinite;
@-webkit-keyframes backgroundAnimation {
0% {background-color: $color;}
50% {background-color: red;}
100% {background-color: $color;}
}
}
I am using it like this:
…