Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style> 
#myDIV {
  width: 300px;
  height: 200px;
  border: 1px solid black;
  animation: mymove 5s infinite;
}
@keyframes mymove {
  50% {border-right: 15px solid lightblue;}
}
</style>
</head>
<body>
<h1>Animation of border-right</h1>
<p>Gradually change the border-right property:<p>
<div id="myDIV"></div>
<p>The border-right is a shorthand property for all border-right properties.</p>
<p>See individual border-right properties to see which is <em>animatable</em>.</p>
</body>
<!-- Mirrored from www.mdssup.ma/cssref/tryit.asp?filename=trycss_anim_border-right by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 14:30:40 GMT -->
</html>