Line 129: | Line 129: | ||
/*Controls the speed of animation */ | /*Controls the speed of animation */ | ||
− | + | #spin { | |
− | animation- | + | position: absolute; |
− | + | top: 50%; | |
+ | left: 50%; | ||
+ | width: 120px; | ||
+ | height: 120px; | ||
+ | margin:-60px 0 0 -60px; | ||
+ | -webkit-animation:spin 10s linear infinite; | ||
+ | -moz-animation:spin 10s linear infinite; | ||
+ | animation:spin 10s linear infinite; | ||
} | } | ||
+ | @-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } } | ||
+ | @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } } | ||
+ | @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } } | ||
Revision as of 16:21, 18 July 2017