Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css start animation on hover

button{
  animation: rotate360 1.2s linear infinite;  /* animation set */
  animation-play-state: paused;               /* put paused */
}
button:hover{
  animation-play-state: running;              /* trigger on hover */
}
@keyframes rotate360 {                        /* keyframes of animation */
  to { transform: rotate(360deg); }           
}
Comment

PREVIOUS NEXT
Code Example
Css :: top down gradient css on body 
Css :: disable scroll css 
Css :: hiden file upload button css 
Css :: hide scrollbar but still scroll 
Css :: css change if mobile 
Css :: jquery css multiple line 
Css :: css last element with class name 
Css :: customize highlight color website 
Css :: how to wrap text in div css 
Css :: vertcial text css 
Css :: scss sass watch command line 
Css :: give transition on box shadow 
Css :: media query tablet only 
Css :: No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration. 
Css :: responsive media qurries 
Css :: css text black outline 
Css :: tablet screen size css 
Css :: absolute position div center 
Css :: How to find the key of the largest value hash? 
Css :: radio button color css 
Css :: align items in span to center 
Css :: css div bottom of parent 
Css :: visibility 
Css :: shadow on top for scroll 
Css :: css checked 
Css :: media query min max 
Css :: circle with 4 colors css 
Css :: cmd hash file 
Css :: centrer verticalement css 
Css :: how to change paragraph text color to orange - css 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =