Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add CSS 3 Animations to Your Genesis Theme
#my-animated-element {
-webkit-animation-duration: 3s;
animation-duration: 3s;
}
<?php //<~ don't add me in
//Animate CSS
add_action( 'wp_enqueue_scripts', 'wpb_animate_styles' );
function wpb_animate_styles() {
wp_enqueue_style( 'animate-css', get_stylesheet_directory_uri() . '/css/animate.min.css', '3.5.0', 'all');
}
<h1 class="animated bounce">My Animated Element</h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.