JS
-
-
Save philcon93/171eb3f1af9c7dda3aac77661234287c to your computer and use it in GitHub Desktop.
fade in content with javascript
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
$(function () { | |
$('.row-parent').one('inview', function (event, visible) { | |
if (visible) { | |
$('.item-children').each(function (index) { | |
var item = $(this); | |
setTimeout(function () { | |
item.removeClass('hidden'); | |
item.addClass('animated fadeInUp'); | |
}, index * 400); | |
}); | |
} | |
}); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment