I have an image of a hand that I created and I am trying to make the hand look as if it is waiving. The image initially should be in its original form, which is where the fingers are pointing up to the left and then within a 4 second period, I want the hand to slowly rotate to the right to the 70deg point. Right now it loads with the fingers at the 70 deg point and does nothing.
What am I doing wrong?
#blue {
background-color: blue;
}
.hand {
width: auto;
height: 400px;
position: relative;
-webkit-animation-name: wave; /* Chrome, Safari, Opera */
-webkit-animation-duration: 4s; /* Chrome, Safari, Opera */
-webkit-animation-iteration-count: 1; /* Chrome, Safari, Opera */
-webkit-animation-direction: normal; /* Chrome, Safari, Opera */
animation-name: wave;
animation-duration: 4s;
animation-iteration-count: 1;
animation-direction: normal;
}
@keyframes wave {
from,100% {
-ms-transform: rotate(75deg); /* IE 9 */
-webkit-transform: rotate(75deg); /* Chrome, Safari, Opera */
transform: rotate(75deg);
}
<div id="blue">
<img src="http://optimumwebdesigns.com/images/hand.png" class="hand">
</div>