About
Explore
Events & Classes
Support Us
Join
Sign In
JUSTCodaborate
View Project Page
Run
Fullscreen
Smoking Text CSS
HTML
CSS
JS
<!DOCTYPE HTML> <html> <head> <title>Page Title</title> <meta charset='utf-8'> <meta name='viewport' content='width=device-width, initial-scale=1.0'> </head> <body> <span>I</span> <span>'</span> <span>m</span> <span>Â </span> <span>s</span> <span>o</span> <span>Â </span> <span>h</span> <span>a</span> <span>p</span> <span>p</span> <span>y</span> <span>!</span> </body> </html>
@import url('https://fonts.googleapis.com/css2?family=Finger+Paint&display=swap'); body { background: purple; overflow: hidden; font: 5vw/100vh "Finger Paint"; font-size: 3rem; text-align: center; color: yellow; backface-visibility: hidden; } span { display: inline; text-shadow: 0 0 0 whitesmoke; animation: smoky 4s 2s both; } span:nth-child(even) { animation-name: smoky-mirror; } @keyframes smoky { 60% { text-shadow: 0 0 40px whitesmoke; } to { transform: translate3d(15rem, -8rem, 0) rotate(-40deg) skewX(70deg) scale(1.5); text-shadow: 0 0 40px whitesmoke; opacity: 0; } } @keyframes smoky-mirror { 60% { text-shadow: 0 0 40px whitesmoke; } to { transform: translate3d(18rem, -8rem, 0) rotate(-40deg) skewX(-70deg) scale(1.5); text-shadow: 0 0 40px whitesmoke; opacity: 0; } } /* 13 chars */ span:nth-of-type(1) { animation-delay: 2.1s; } span:nth-of-type(2) { animation-delay: 2.2s; } span:nth-of-type(3) { animation-delay: 2.3s; } span:nth-of-type(4) { animation-delay: 2.4s; } span:nth-of-type(5) { animation-delay: 2.5s; } span:nth-of-type(6) { animation-delay: 2.6s; } span:nth-of-type(7) { animation-delay: 2.7s; } span:nth-of-type(8) { animation-delay: 2.8s; } span:nth-of-type(9) { animation-delay: 2.9s; } span:nth-of-type(10) { animation-delay: 3s; } span:nth-of-type(11) { animation-delay: 3.1s; } span:nth-of-type(12) { animation-delay: 3.2s; } span:nth-of-type(13) { animation-delay: 3.3s; }