Gradually change the border-top-right-radius property from 0 to 50px then back:
The border-top-right-radius is animatable in CSS.
Note: CSS Animations do not work in Internet Explorer 9 and earlier versions.