Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style> 
#myDIV {
  width: 300px;
  height: 200px;
  outline: 1px solid black;
  animation: mymove 5s infinite;
}
@keyframes mymove {
  50% {outline: 15px solid lightblue;}
}
</style>
</head>
<body>
<h1>Animation of outline</h1>
<p>Gradually change the outline property:<p>
<div id="myDIV"></div>
<p>The outline property is a shorthand property for all outline properties.</p>
<p>See the individual outline properties to see which is <em>animatable</em>.</p>
</body>
</html>