Typed.js
Typed.js is a library that types. Enter in any string, and watch it type at the speed you've set, backspace what it's typed, and begin a new sentence for however many strings you've set. For more information read the plugin documentation
h5.text-muted.m-3 Do it
|
|
span#typed
<h5 class="text-muted m-3">
Do it
<span id="typed"></span>
</h5>
$(document).ready(function() {
if (document.getElementById("typed")) {
var typed = new Typed('#typed', {
strings: ["better", "fancy", "modern"],
typeSpeed: 200,
backSpeed: 200,
smartBackspace: false,
loop: true,
shuffle: true,
});
}
});
Do it
Version 2.0.0, [email protected]