I rely on the
.animated {
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
to enhance my animations.
Check out the HTML structure:
<div class="caption slideOne">
<div class="capionImage animated"></div>
<h1 class="captionTitle animated">Salty Spa <span class="captionSpan animated">Someseni</span></h1>
<div class="breakLine animated"></div>
<p class="captionParagraph animated">Premium quality salt therapies and relaxing atmosphere with your family.<br><br><br><a href="" class="sliderButton animated">Learn more</a>
</div>
Is there a way to apply the "animated" class to all elements without specifying it individually?