Add CSS transition.