Enhancing user experience with css animations