Rainbow Glow - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Rainbow Glow</title> <style> @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap'); @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css'); body { background: linear-gradient(to right, #ff7e5f, #feb47b); display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; font-family: 'Montserrat', sans-serif; color: #fff; } .container { text-align: center; position: relative; z-index: 1; } .knockout-text { font-size: 4em; font-weight: 800; position: relative; display: inline-block; margin: 0; background: linear-gradient(to right, #ff6a00, #ee0979); -webkit-background-clip: text; color: transparent; } .knockout-text::before { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #000; -webkit-background-clip: text; background-clip: text; color: transparent; animation: glow 2s infinite; } @keyframes glow { 0%, 100% { text-shadow: 0 0 10px #fff, 0 0 20px #ff007f, 0 0 30px #ff007f, 0 0 40px #ff007f, 0 0 50px #ff007f, 0 0 60px #ff007f, 0 0 70px #ff007f; } 50% { text-shadow: 0 0 20px #fff, 0 0 30px #ff007f, 0 0 40px #ff007f, 0 0 50px #ff007f, 0 0 60px #ff007f, 0 0 70px #ff007f, 0 0 80px #ff007f; } } </style> </head> <body> <div class="container"> <h1 class="knockout-text" data-text="Rainbow Glow"> Rainbow Glow </h1> </div> </body> </html>