Futuristic Neon Article - 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 Neon Article</title> <style> @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap'); @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css'); body { font-family: 'Orbitron', sans-serif; background: #000; color: #fff; margin: 0; padding: 0; } .article-container { max-width: 700px; margin: 50px auto; background: #111; border-radius: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7); overflow: hidden; position: relative; padding: 20px; animation: neon-glow 1.5s ease-in-out infinite alternate; } @keyframes neon-glow { 0% { box-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff, 0 0 40px #0ff, 0 0 50px #0ff; } 100% { box-shadow: 0 0 20px #0ff, 0 0 30px #0ff, 0 0 40px #0ff, 0 0 50px #0ff, 0 0 60px #0ff; } } .article-header { text-align: center; } .article-header h1 { margin: 0; font-size: 2.5em; color: #0ff; } .article-content { padding: 20px; line-height: 1.6; } .article-content h2 { color: #0ff; margin-top: 1.5em; } .icon-bar { position: fixed; top: 50%; left: 0; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; } .icon-bar a { display: block; background: #111; padding: 10px; text-align: center; color: #0ff; border: 1px solid #0ff; border-radius: 0 5px 5px 0; transition: background 0.3s; } .icon-bar a:hover { background: #0ff; color: #000; } .highlight { background: #0ff; padding: 3px 5px; color: #000; border-radius: 3px; } .fade-in { animation: fadeIn 2s ease-in-out; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } </style> </head> <body> <div class="icon-bar"> <a href="#" title="Home"><i class="fas fa-home"></i></a> <a href="#" title="Search"><i class="fas fa-search"></i></a> <a href="#" title="Contact"><i class="fas fa-envelope"></i></a> <a href="#" title="Profile"><i class="fas fa-user"></i></a> </div> <div class="article-container"> <div class="article-header"> <h1>Futuristic Neon Article</h1> </div> <div class="article-content"> <h2>Introduction</h2> <p class="fade-in">This article is designed with a futuristic neon theme, embracing bold colors and dynamic lighting effects.</p> <h2>Why Style Matters</h2> <p class="fade-in">Neon styling can create a striking and memorable visual impact, making your content stand out in a crowded digital space.</p> <h2>Conclusion</h2> <p class="fade-in">We hope you enjoy the Futuristic Neon design. Let your creativity shine and explore new frontiers in web design.</p> </div> </div> <script> document.addEventListener("DOMContentLoaded", function () { const fadeIns = document.querySelectorAll(".fade-in"); fadeIns.forEach((element, index) => { element.style.animationDelay = `${index * 0.5}s`; }); }); </script> </body> </html>