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