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 :: css mutline comment 
Css :: how to make a dotted hr in css 
Css :: object fit css 
Css :: red asterix css 
Css :: how to horizontally center header at the top of page with flexbox css 
Css :: css word break 
Css :: rgb blue color code 
Css :: responsive website css 
Css :: icon borders css 
Css :: animate progress tag css 
Css :: make table resopnsive for mobile 
Css :: blue gradient background 
Css :: css text to fit container 
Css :: centering using flexbox 
Css :: inline input form css 
Css :: css fade change coloir 
Css :: change text color when scrolling css 
Css :: line height tailwind 
Css :: ubuntu uninstall unity hub 
Css :: display elements in column css 
Css :: how to add pictures in circle html 
Css :: add color on image using css 
Css :: move image around in image div 
Css :: facebook box-shadow css 
Css :: how to style rule to apply the Border Box model css 
Css :: make footer stick to bottom without overlap over other elements 
Css :: color tr first row css 
Css :: To set HTML attribute and css styles in html helper control in mvc 
Css :: scss color black white 
Css :: How to keep same background-image ratio/size on all different screen sizes? 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =