jQuery实现鼠标滑过点击事件音效试听
废话不多说了,直接看效果图吧。
效果图如下:
html代码:
<div class="wrapper"> <h1 class="sub-section__title">eventType : </h1> <div class="center" style="margin-top: 40px;"> <div id="trigger-2-hover" class="sound-trigger sound-trigger--type-default-2 sound-trigger--type-hover"> <p class="sound-trigger__speach">HOVER!</p> <div class="sound-trigger__inner"> <i class="fa fa-volume-up fa-lg"></i> </div> </div> <div id="trigger-2-click" class="sound-trigger sound-trigger--type-default sound-trigger--type-click"> <p class="sound-trigger__speach">CLICK!</p> <div class="sound-trigger__inner"> <i class="fa fa-volume-up fa-lg"></i> </div> </div> </div>
相关推荐
84483065 2020-09-11
85477104 2020-08-15
83510998 2020-08-08
tztzyzyz 2020-07-05
delmarks 2020-06-28
89510194 2020-06-27
牵手白首 2020-06-14
EdwardSiCong 2020-11-23
85477104 2020-11-17
hhanbj 2020-11-17
81427005 2020-11-11
seoppt 2020-09-13
honeyth 2020-09-13
WRITEFORSHARE 2020-09-13
momode 2020-09-11
82550495 2020-08-03
tthappyer 2020-08-03
84901334 2020-07-28