Add CSS transition effects