Updated CSS to add animation width transition