Switched keyframes rules with mixin