Applies a transitive class that gets removed after a CSS transition ends.