<html>
<head>
<style>
#myDIV {
width: 300px;
height: 200px;
border: 1px solid black;
animation: mymove 5s infinite;
}
@keyframes mymove {
50% {border-width: 15px;}
}
</style>
</head>
<body>
<h1>Animation of border-width</h1>
<p>Gradually change the border-width property from 1px to 15px, then back:<p>
<div id="myDIV"></div>
<p><b>Note:</b> CSS Animations do not work in Internet Explorer 9 and earlier versions.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_anim_border-width by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:00:44 GMT -->
</html>