Skip to content

Instantly share code, notes, and snippets.


Jennifer Stewart jstewart8053

View GitHub Profile
jstewart8053 / index.html
Created Oct 7, 2020
Port Draft... in progress
View index.html
<div class='preflex'>
<div class='flexContainer'>
<ul id ='home'>
<li><a href="">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#contact">Contact</a></li>
View Animate Text Jquery.js
$.fn.animateText = function(delay, klass) {
var text = this.text();  
var letters = text.split('');     
return this.each(function(){    
var $this = $(this);     
$this.html(text.replace(/./g, '<span class="letter">$&</span>'));     
$this.find('span.letter').each(function(i, el){  
setTimeout(function(){ $(el).addClass(klass); }, delay * i);
You can’t perform that action at this time.