Last active
March 3, 2020 20:33
-
-
Save alexmacarthur/238cd37c0d319a75a4c5eab89bec06df to your computer and use it in GitHub Desktop.
Basic TypeIt
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
<html> | |
<head></head> | |
<body> | |
<span id="myElement"></span> | |
<!-- Insert this! --> | |
<script src="https://cdn.jsdelivr.net/npm/typeit@6.5.1/dist/typeit.min.js"></script> | |
<script> | |
window.addEventListener('load', function () { | |
new TypeIt('#myElement', { | |
strings: "This is what will be typed!" | |
}).go(); | |
}); | |
</script> | |
<!-- Insert this! --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment