Skip to content

Instantly share code, notes, and snippets.

@gusmantap
Created March 15, 2018 03:50
Show Gist options
  • Save gusmantap/57200f18f99e55fe68c1b722d67d37b9 to your computer and use it in GitHub Desktop.
Save gusmantap/57200f18f99e55fe68c1b722d67d37b9 to your computer and use it in GitHub Desktop.
setTimeout(function(){
businessIllustration.removeClass("out");
setTimeout(function () {
// Logo In to Canvas Editor
logo.removeClass("out");
setTimeout(function () {
// Logo in to Canvas Editor
businessName.removeClass("out");
setTimeout(function () {
// Transition transorm set -40% left and right title
businessName.removeClass("beforeOut");
setTimeout(function () {
// Transition Left and Right normal 0%
businessTagline.removeClass("out");
var span = businessTagline.find("span");
// Animation each letter of tagline
$.each(span, function (i, val) {
(function (i) {
setTimeout(function () {
$(val).addClass('animate');
}, (pause / 10) * i);
setTimeout(function () {
$(val).removeClass('animate');
}, pause * i);
})(i);
}) // Loop Animation for Each letter logo
}, pause);
}, pause);
}, pause);
}, pause);
}, pause);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment