Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css rotate animation

<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); } }
Comment

rotate animation css

/*all frames for rotation*/
@import = url("https://pastebin.com/raw/CStAV14T") 
.rotate{
  /* Start the rotate animation and make the animation last for 1 second */
  animation: rotate 1s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}
Comment

PREVIOUS NEXT
Code Example
Css :: diable focus button css 
Css :: css how do i remove highlighting 
Css :: focus in styled component 
Css :: excel arabic numbers 
Css :: css selector start with 
Css :: css selector no attribute 
Css :: remove arrow summary tag css 
Css :: how to create a semi circle in css 
Css :: remove list bullet css 
Css :: css dark filter over image 
Css :: how to set css style using jquery 
Css :: how to use html and css to design a chess board 
Css :: css input remove border on focus 
Css :: center anything horizontally and vertically in CSS 
Css :: give transition on box shadow 
Css :: div circle 
Css :: grid center css 
Css :: position absolute center 
Css :: background image css django 
Css :: background image fill div 
Css :: display flex column width auto 
Css :: hide title wordpress 
Css :: change height of range slider html 
Css :: css root variables 
Css :: css a4 proportion 
Css :: css placeholder text truncate 
Css :: how to css with data arrtibute 
Css :: word ellipsis css 
Css :: electron drag window 
Css :: div not larger than its content 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =