Animated Text Appearance

Developer
Size
3,417 Kb
Views
6,072

How do I make an animated text appearance?

A demo showing my FAVORITE days of the year. And an animated text transition fade in effect. thing . What is a animated text appearance? How do you make a animated text appearance? This script and codes were developed by Ianchouinard on 03 December 2022, Saturday.

Animated Text Appearance Previews

Animated Text Appearance - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated Text Appearance</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class='wrapper'> <section> <h1>today is</h1> <h1 class='stuff'></h1> <h1>day!</h1> </section>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Animated Text Appearance - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Cabin:700);
body { background: rgba(35, 79, 239, 0.92);
}
section { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; padding: 1em 0; letter-spacing: 2px;
}
section h1 { margin: .15em 0 .15em 22.5%; font-family: 'Cabin', sans-serif; color: rgba(35, 79, 239, 0.92); font-weight: 700; font-size: 4.5em; text-shadow: 3px 3px rgba(73, 73, 73, 0.2);
}
section .stuff { height: 70px; white-space: nowrap;
}
section em { animation: comein 500ms linear; display: inline-block; vertical-align: top;
}
@keyframes comein { 0% { opacity: 0; font-weight: 300; font-size: 0em; } 40% { opacity: 4; font-size: 1.3em; font-weight: 500; } 100% { opacity: 1; font-size: 1em; }
}
.wrapper { position: relative; width: calc(100% - 30px); height: calc(100vh - 30px); margin: 15px 0 0 15px; background: url("http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/geometry2.png");
}

Animated Text Appearance - Script Codes JS Codes

function spellStuff(){	var holidays = ["national_air_karate", "tom_cruise_appreciation", "hug_a_vegetarian", "upgrage_your_ram", "tuesd-"];	var s = 0, t = 0;	function drawLetter(){	var string = holidays[t],	stringCount = string.length;	//console.log(t);	//console.log(holidays[t]);	var letter = string.charAt(s);	$('.stuff').append("<em></em>");	$('.stuff').find('em').eq(s).append(letter);	var content = $('em').eq(s).text(),	empty = "_";	if(content == empty){	$('em').eq(s).html("&nbsp;")	}	if(++s == stringCount){	setTimeout(fadeOut, 900);	setTimeout(restart, 1700);	}	window.setTimeout(drawLetter, 100);	}	function fadeOut() {	$('em').fadeOut();	}	function restart(){	t++;	$('.stuff').html("");	s = 0;	//console.log(t);	var lastWord = holidays.length;	if(t == lastWord){	t = 0;	}	}	drawLetter();	}	spellStuff();
Animated Text Appearance - Script Codes
Animated Text Appearance - Script Codes
Home Page Home
Developer Ianchouinard
Username ianchouinard
Uploaded December 03, 2022
Rating 3
Size 3,417 Kb
Views 6,072
Do you need developer help for Animated Text Appearance?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Ianchouinard (ianchouinard) Script Codes
Create amazing marketing copy with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!