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