What is the difference between applying CSS transition property in hover rather than in its normal state?

前端 未结 4 574
一个人的身影
一个人的身影 2020-12-11 12:19

I\'m learning CSS3. Now, what I\'ve seen in w3schools website is that:

CSS

#ID {
  transition: transform 3s;
}

#ID:hover {
  transf         


        
4条回答
  •  孤城傲影
    2020-12-11 12:55

    When a transition is specified for the :hover state, the transition won’t work on mouse out.

提交回复
热议问题