Add a class with jQuery

Add one or more classes to an existing Squarespace class. The example below adds classes from the animation and scroll libraries animate.css and WOW js.

<script>
$( ".meta-description" ).addClass( "animated fadeInLeft delay" );
</script>

The third class added above is a custom class, defined in the Custom CSS field.

// DELAY ANIMATION 
.delay {
  animation-delay: 1.2s;
}