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