应该来说这是两两配对的时间
mouseenter
和mouseleave
是只对选中的元素的生效
mouseover
和mouseout
是只对选中的元素及其子元素生效
<iframe width="100%" height="300" src="//jsfiddle.net/xiadd/4hno1wgf/embedded/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
应该来说这是两两配对的时间
mouseenter
和mouseleave
是只对选中的元素的生效
mouseover
和mouseout
是只对选中的元素及其子元素生效
<iframe width="100%" height="300" src="//jsfiddle.net/xiadd/4hno1wgf/embedded/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>