Cool hover animation effect via transform rotate with value in degree and turn.
CSS (Degree)
.box { width:150px; height:150px; margin:2em; background: red; } .box:hover { transition-duration: 2s; transform: rotate(360deg); }
CSS (Turn)
.box { width:150px; height:150px; margin:2em; background: green; } .box:hover { transition-duration: 2s; transform: rotate(3turn); }

Comments
Post a Comment