Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how rotate infinity css

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}
Comment

how rotate infinity css

<div 
  class="rotating"
  style="width: 100px; height: 100px; line-height: 100px; text-align: center;" 
 >Rotate</div>
Comment

PREVIOUS NEXT
Code Example
Css :: Centering a div of unknown height and width 
Css :: tailwind nowrap 
Css :: absolute position center 
Css :: css make long text wrap 
Css :: disable text wrap css 
Css :: no border css 
Css :: responsive css 
Css :: boxshadow in css 
Css :: css resize image without distortion 
Css :: how to get rid of button outline when clicked 
Css :: css remove blue outline button 
Css :: css reset style 
Css :: css make div on top of everything 
Css :: center text css 
Css :: adding shadow to a div 
Css :: css animation scale image 
Css :: vertcial text css 
Css :: make an anchor tag inactive 
Css :: set border color of svg 
Css :: grid center 
Css :: scss not working with storybook 
Css :: page icon css 
Css :: how to include one css file in another 
Css :: sass calculate and concat pixels 
Css :: css caret-color property 
Css :: css background image svg not showing 
Css :: active pseudo class in css not working in form text area 
Css :: two background images css 
Css :: how to css with data arrtibute 
Css :: how to add space inbetween lines in html 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =