I have a question on the :hover
state. Can I stop my transition from turning back to the original state after stopping the mouseover
.
div {
width:100px;
height:100px;
background:red;
margin: 150px;
-webkit-transition:all 1s;
}
div:hover {
border-radius:50%;
-webkit-transform:rotate(1440deg);
}
That is what I have, but I don't know what to add to stop the whole thing in circle-state.
I just want the :hover
pseudo-class to start it.