“Como girar a imagem 360 graus em CSS” Respostas de código

CSS gira a animação

<img class="image" src="http://i.stack.imgur.com/pC1Tv.jpg" alt="" width="120" height="120">

.image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s 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); } }
2 Programmers 1 Bug

Como girar a imagem 360 graus em CSS

<img class="image" src="https://1.bp.blogspot.com/-Z-MqZ0dELFY/YMWoc27YvUI/AAAAAAAAVmQ/3VlCywSxtJQsT8V-L5cGXQZA-GvOro53gCLcBGAsYHQ/s666/Nighty_1-removebg-preview.png" alt="" width="120" height="120">

.image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s 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); } }
Horrible Hippopotamus

Respostas semelhantes a “Como girar a imagem 360 graus em CSS”

Perguntas semelhantes a “Como girar a imagem 360 graus em CSS”

Mais respostas relacionadas para “Como girar a imagem 360 graus em CSS” em CSS

Procure respostas de código populares por idioma

Procurar outros idiomas de código