add sass mixin and animation function for placeholders