더 이상 헛소리하지 말고 렌더링만 살펴보겠습니다.
렌더링은 다음과 같습니다.
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>