码迷,mamicode.com
首页 > Web开发 > 详细

jQuery鼠标进入离开css样式修改

时间:2019-10-15 18:55:56      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:volume   out   query   mouse   UNC   nbsp   音量   进入   func   

  // 鼠标进入离开音量 提问 统计样式
  $(‘.vjs-volume-menu-button‘)
    .mouseover(function () {
      $(‘.tiwen‘).css({
        transition: ‘all 0.4s‘,
        right: ‘240px‘
      })
      $(‘.tongji‘).css({
        transition: ‘all 0.4s‘,
        right: ‘350px‘
      })
    })
    .mouseout(function () {
      $(‘.tiwen‘).css({
        right: ‘160px‘,
        transition: ‘all 0.4s‘
      })
      $(‘.tongji‘).css({
        transition: ‘all 0.4s‘,
        right: ‘270px‘
      })
    })

jQuery鼠标进入离开css样式修改

标签:volume   out   query   mouse   UNC   nbsp   音量   进入   func   

原文地址:https://www.cnblogs.com/lljun/p/11679436.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!