<html>
<head>
<style>
#myDIV {
width: 300px;
height: 200px;
border: 1px solid black;
animation: mymove 5s infinite;
}
@keyframes mymove {
50% {border-top-width: 15px;}
}
</style>
</head>
<body>
<h1>Animation of border-top-width</h1>
<p>Gradually change the border-top-width property from 1px to 15px, then back:<p>
<div id="myDIV"></div>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.php?filename=trycss_anim_border-top-width by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 16:50:29 GMT -->
</html>