Gradually change the box-shadow property:
Note: CSS Animations do not work in Internet Explorer 9 and earlier versions.