<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
div{
width:100px;
height:100px;
margin:50px;
outline:1px solid green;
animation: myAnimation 5s infinite;
-webkit-animation: myAnimation 5s infinite; /* Safari 4.0 - 8.0 */
}
@keyframes myAnimation {
50% {outline-width:15px;}
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes myAnimation {
50% {outline-width:15px;}
}
</style>
</head>
<body>
<h1>CSS Animatable outline-width</h1>
<div></div> </body>
</html>