<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
body{
background: #f2f2f2 url("/apple.png") no-repeat fixed center;
background-size: 50px 50px;
animation: myAnimation 5s infinite;
-webkit-animation: myAnimation 5s infinite; /* Safari 4.0 - 8.0 */
}
@keyframes myAnimation {
50% {background-size: 150px 150px;}
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes myAnimation {
50% {background-size: 150px 150px;}
}
</style>
</head>
<body>
<h1>CSS Animatable background-size</h1> </body>
</html>