Typewriter


Source: http://codepen.io/voronianski/pen/aicwk
Code:
Javascript:
function typeWriter(text,n){if(n<(text.length)){$('.test').html(text.substring(0,n+1));n++;setTimeout(function(){typeWriter(text,n)},100)}}$('.start').click(function(e){e.stopPropagation();var text=$('.test').data('text');typeWriter(text,0)});
CSS:
type{margin-top:10px;text-align:left}