Skip to content

Instantly share code, notes, and snippets.

@alexmacarthur
Last active January 31, 2020 03:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexmacarthur/0f48f9fb632cb0ba42f7f9a8b9db09d1 to your computer and use it in GitHub Desktop.
Save alexmacarthur/0f48f9fb632cb0ba42f7f9a8b9db09d1 to your computer and use it in GitHub Desktop.
Basic TypeIt Setup
<html>
<head></head>
<body>
<span id="element"></span>
<script src="https://cdn.jsdelivr.net/npm/typeit@6.1.1/dist/typeit.min.js"></script>
<script>
var instance = new TypeIt('#element', {
strings: ['This is my string!']
}).go();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment