Add CSS transitions