This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Add class to .entry | |
add_filter( 'genesis_attr_entry', 'susanta_animate_entry' ); | |
function susanta_animate_entry( $attributes ) { | |
$attributes['class'] = $attributes['class']. ' animate-entry MoveUp'; | |
return $attributes; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Add Effect: Move Up to Entry */ | |
.animate-entry { | |
-webkit-transform: translateY(200px); | |
transform: translateY(200px); | |
-webkit-animation: moveUp 0.65s ease forwards; | |
animation: moveUp 0.65s ease forwards; | |
} | |
@-webkit-keyframes moveUp { |