add animation mixin into css3.