Futuristic Headings - 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>Futuristic Headings</title> <style> @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap'); body { font-family: 'Orbitron', sans-serif; background: #0f0f0f; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; margin: 0; } h1, h2, h3, h4, h5, h6 { margin: 20px 0; padding: 10px 20px; border: 3px solid #0f0f0f; border-radius: 10px; position: relative; overflow: hidden; background: linear-gradient(45deg, #0f0f0f, #3a3a3a); transition: all 0.3s ease; } h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover { background: linear-gradient(45deg, #00ffcc, #ff00cc); box-shadow: 0 0 20px #00ffcc; border-color: #00ffcc; } h1::before, h2::before, h3::before, h4::before, h5::before, h6::before { content: ''; position: absolute; top: -100%; left: -100%; width: 300%; height: 300%; background: rgba(255, 255, 255, 0.1); transform: rotate(45deg); transition: all 0.3s ease; } h1:hover::before, h2:hover::before, h3:hover::before, h4:hover::before, h5:hover::before, h6:hover::before { top: 0; left: 0; } h1 { font-size: 3em; } h2 { font-size: 2.5em; } h3 { font-size: 2em; } h4 { font-size: 1.75em; } h5 { font-size: 1.5em; } h6 { font-size: 1.25em; } </style> </head> <body> <h1>Futuristic Heading 1</h1> <h2>Futuristic Heading 2</h2> <h3>Futuristic Heading 3</h3> <h4>Futuristic Heading 4</h4> <h5>Futuristic Heading 5</h5> <h6>Futuristic Heading 6</h6> </body> </html>