Mixin for @keyframes and animation