#blue {
width: 100%;
height: 800px;
background: blue;
}
.think {
margin-left: 200px;
width: auto;
height: 500px;
-webkit-animation-name: think, think2;
animation-name: think, think2;
-webkit-animation-duration: 3.28s, 4.72s;
animation-duration: 3.28s, 4.72s;
-webkit-animation-iteration-count: 1, infinite;
animation-iteration-count: 1, infinite;
-webkit-animation-delay: 0s, 3.28s; /* delay second so that it starts after 1st finishes */
animation-delay: 0s, 3.28s; /* delay second so that it starts after 1st finishes */
-webkit-animation-direction: normal;
animation-direction: normal;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
/*min-height: 500px; min-width: 500px;*/
background-repeat: no-repeat;
/*background-size: 100% auto;*/
}
/* Chrome, Safari, Opera */
@-webkit-keyframes think {
0%,
74.99% {
background-image: url("http://optimumwebdesigns.com/images/think.png");
}
75%,
100% {
background-image: url("http://optimumwebdesigns.com/images/think22.png");
}
}
@-webkit-keyframes think2 {
0%,
19.99% {
background-image: url("http://optimumwebdesigns.com/images/think3.png");
}
20%,
39.99% {
background-image: url("http://optimumwebdesigns.com/images/think4.png");
}
40%,
59.99% {
background-image: url("http://optimumwebdesigns.com/images/think5.png");
}
60%,
79.99% {
background-image: url("http://optimumwebdesigns.com/images/think6.png");
}
80%, 100% {
background-image: url("http://optimumwebdesigns.com/images/think7.png");
}
}
/* Standard syntax */
@keyframes think {
0%,
74.99% {
background-image: url("http://optimumwebdesigns.com/images/think.png");
}
75%,
100% {
background-image: url("http://optimumwebdesigns.com/images/think22.png");
}
}
@keyframes think2 {
0%,
19.99% {
background-image: url("http://optimumwebdesigns.com/images/think3.png");
}
20%,
39.99% {
background-image: url("http://optimumwebdesigns.com/images/think4.png");
}
40%,
59.99% {
background-image: url("http://optimumwebdesigns.com/images/think5.png");
}
60%,
79.99% {
background-image: url("http://optimumwebdesigns.com/images/think6.png");
}
80%, 100% {
background-image: url("http://optimumwebdesigns.com/images/think7.png");
}
}
<div id="blue">
<div class="think"></div>
</div>