Smog Rotating Text Effect
HTML
<!doctype html>
<html>
<head>
<title>Text With Smoke</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body background="#289fb8">
<section>
<video color="red"src="smoke.mp4" autoplay muted></video>
<h1>
<span>M</span>
<span>A</span>
<span>A-</span>
<span>B</span>
<span>L</span>
<span>O</span>
<span>G</span>
<span>G</span>
<span>E</span>
<span>R</span><br/>
<font color="red"><span>H</span>
<span>A</span>
<span>P</span>
<span>P</span>
<span>Y</span><br/>
<span>N</span>
<span>E</span>
<span>W</span><br/>
<span>Y</span>
<span>E</span>
<span>A</span>
<span>R</span><br/></font>
<font color="green"><span>2</span>
<span>0</span>
<span>2</span></font>
<font color="yellow"><span>1</span><br/></font>
<span>I</span>
<span>N</span><br/>
<font color="yellow"><span>A</span>
<span>D</span>
<span>V</span>
<span>A</span>
<span>N</span>
<span>C</span>
<span>E</span></font>
</h1>
</section>
</body>
CSS
body
{
margin: 0;
padding: 0;
}
section
{
height: 100vh;
background: #000;
}
video
{
object-fit: cover;
}
h1
{
margin: 0;
padding: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
text-align: center;
color: #289fb8;
font-size: 3em;
font-family: centuary;
letter-spacing: 0.1em;
}
h1 span
{
display: inline-block;
animation: animate 2s linear forwards;
}
@keyframes animate
{
0%
{
opacity: 3;
transform: rotateY(180deg);
filter: blur(20px);
}
100%
{
opacity: 5;
transform: rotateY(30deg);
filter: blur(0);
}
}
h1 span:nth-child(1)
{
animation-delay: 1s;
}
h1 span:nth-child(2)
{
animation-delay: 1.5s;
}
h1 span:nth-child(3)
{
animation-delay: 2s;
}
h1 span:nth-child(4)
{
animation-delay: 2.5s;
}
h1 span:nth-child(5)
{
animation-delay: 3s;
}
h1 span:nth-child(6)
{
animation-delay: 3.5s;
}
h1 span:nth-child(7)
{
animation-delay: 3.75s;
}
h1 span:nth-child(8)
{
animation-delay: 4s;
}
h1 span:nth-child(9)
{
animation-delay: 4.25s;
}
h1 span:nth-child(10)
{
animation-delay: 4.5s;
}
h1 span:nth-child(11)
{
animation-delay: 4.75s;
}
h1 span:nth-child(12)
{
animation-delay: 5s;
}
h1 span:nth-child(13)
{
animation-delay: 5.25s;
}
h1 span:nth-child(14)
{
animation-delay: 5.5s;
}
h1 span:nth-child(15)
{
animation-delay: 5.75s;
}
h1 span:nth-child(16)
{
animation-delay: 6s;
}
h1 span:nth-child(17)
{
animation-delay: 6.25s;
}
h1 span:nth-child(18)
{
animation-delay: 6.5s;
}
h1 span:nth-child(19)
{
animation-delay: 6.75s;
}
h1 span:nth-child(20)
{
animation-delay: 7.0s;
}
h1 span:nth-child(21)
{
animation-delay: 7.25s;
}
h1 span:nth-child(22)
{
animation-delay: 7.5s;
}
h1 span:nth-child(23)
{
animation-delay: 7.75s;
}
h1 span:nth-child(24)
{
animation-delay: 8.0s;
}
h1 span:nth-child(25)
{
animation-delay: 8.25s;
}
h1 span:nth-child(26)
{
animation-delay: 8.5s;
}
h1 span:nth-child(27)
{
animation-delay: 8.75s;
}
h1 span:nth-child(28)
{
animation-delay: 9.0s;
}
h1 span:nth-child(29)
{
animation-delay: 9.25s;
}
h1 span:nth-child(30)
{
animation-delay: 9.75s;
}
h1 span:nth-child(31)
{
animation-delay: 10.0s;
}
h1 span:nth-child(32)
{
animation-delay: 10.25s;
}
h1 span:nth-child(33)
{
animation-delay: 10.5s;
}
h1 span:nth-child(34)
{
animation-delay: 10.75s;
}
h1 span:nth-child(35)
{
animation-delay: 11.0s;
}
OUTPUT
Download this Video & Use in this program
 |
After Effect |
49 Comments
Wowwww
ReplyDeleteIt's great
Nice code and graphics
ReplyDeleteExcellent👍
ReplyDeleteGood
ReplyDeleteExcellent👍
ReplyDeleteVery Nice
ReplyDeleteExcellent👍
ReplyDeleteAwesome
ReplyDeleteExcellent job
ReplyDeleteExcellent👍
ReplyDeleteWonderful
ReplyDeleteExcellent👍
ReplyDeleteperfect 👌
Superb
ReplyDeleteExcellent👍
ReplyDeleteSuper
Great
ReplyDeleteExcellent👍
ReplyDeleteKallu
ReplyDeleteNice
Nice
ReplyDeleteKallu
ReplyDeleteVery nice
Perfect 👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDelete👌 👌 👌 👌 👌 👌
ReplyDeleteExcellent
ReplyDeleteExcellent
ReplyDeletePerfect 👌
ReplyDeleteAwesome
ReplyDeleteAwesome
ReplyDeleteAttractive
ReplyDeleteWonderful
ReplyDeleteSuperb
ReplyDeleteWonderful
ReplyDeleteVery Nice
ReplyDeleteVery Nice
ReplyDeleteGreat
ReplyDeleteNice Work Guys
ReplyDeleteNicely done
ReplyDeleteBrilliant
ReplyDeleteWow wonderful
ReplyDeletePerfect
ReplyDeleteWaw
DeleteAmazing creation
ReplyDelete