Forked from Gabriel Damon's Pen Typed.js Test.
Created
June 18, 2015 20:38
-
-
Save IgnetStudio/1f34a6ce68baaa986a2e to your computer and use it in GitHub Desktop.
Typed.js Test
This file contains 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
<div class='element0'>gabriel@lowercase ~$ </div> | |
<div class='element1 nodisplay'>gabriel@lowercase ~$ </div> | |
<div class='element2 nodisplay'>gabriel@lowercase ~$ </div> | |
<div class='element3 nodisplay'>gabriel@lowercase ~$ </div> | |
<div class='element4 nodisplay'>gabriel@lowercase ~$ </div> |
This file contains 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
setTimeout(function(){ | |
$(".element0").typed({ | |
strings: ["apt-get install konquer"], | |
typeSpeed: 30, // typing speed | |
backDelay: 750, // pause before backspacing | |
loop: false, // loop on or off (true or false) | |
loopCount: false, // number of loops, false = infinite | |
callback: function(){ } // call function after typing is done | |
}); | |
}, 0); | |
setTimeout(function(){ | |
$(".element1").css("display", "inherit"); | |
$(".element1").typed({ | |
strings: ["konquer -r /world"], | |
typeSpeed: 30, // typing speed | |
backDelay: 750, // pause before backspacing | |
loop: false, // loop on or off (true or false) | |
loopCount: false, // number of loops, false = infinite | |
callback: function(){ } // call function after typing is done | |
}); | |
}, 2000); | |
setTimeout(function(){ | |
$(".element2").css("display", "inherit"); | |
$(".element2").typed({ | |
strings: ["chown gabriel /world"], | |
typeSpeed: 30, // typing speed | |
backDelay: 750, // pause before backspacing | |
loop: false, // loop on or off (true or false) | |
loopCount: false, // number of loops, false = infinite | |
callback: function(){ } // call function after typing is done | |
}); | |
}, 4000); | |
setTimeout(function(){ | |
$(".element3").css("display", "inherit"); | |
$(".element3").typed({ | |
strings: ["chmod 700 /world"], | |
typeSpeed: 30, // typing speed | |
backDelay: 750, // pause before backspacing | |
loop: false, // loop on or off (true or false) | |
loopCount: false, // number of loops, false = infinite | |
callback: function(){ } // call function after typing is done | |
}); | |
}, 6000); | |
setTimeout(function(){ | |
$(".element4").css("display", "inherit"); | |
$(".element4").typed({ | |
strings: ["chown parents /world/australia"], | |
typeSpeed: 30, // typing speed | |
backDelay: 750, // pause before backspacing | |
loop: false, // loop on or off (true or false) | |
loopCount: false, // number of loops, false = infinite | |
callback: function(){ } // call function after typing is done | |
}); | |
}, 8000); |
This file contains 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
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
<script src="http://codepen.io/gabrieldamon42/pen/rFHJs"></script> |
This file contains 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
body { | |
font-family: Monaco, Consolas, "Lucida Console", monospace; | |
background-color: black; | |
color: #1EFF00; | |
} | |
.nodisplay { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment