Professional 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>Professional Article</title> <style> @import url('https://fonts.googleapis.com/css2?family=Roboto: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: 'Roboto', sans-serif; background: #f4f4f9; margin: 0; padding: 0; } .article-container { max-width: 800px; margin: 50px auto; background: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); overflow: hidden; position: relative; animation: slide-in 1s ease-out forwards; } @keyframes slide-in { 0% { opacity: 0; transform: translateY(100px); } 100% { opacity: 1; transform: translateY(0); } } .article-header { background: linear-gradient(135deg, #ff7e5f, #feb47b); padding: 30px 20px; text-align: center; color: #fff; } .article-header h1 { margin: 0; font-size: 2.5em; position: relative; animation: text-pop-up 1s ease-out forwards; } @keyframes text-pop-up { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } } .article-content { padding: 20px; line-height: 1.6; } .article-content p { margin: 1em 0; } .article-content h2 { color: #ff7e5f; position: relative; margin-top: 1.5em; animation: text-slide-in 1s ease-out forwards; } @keyframes text-slide-in { 0% { opacity: 0; transform: translateX(-100px); } 100% { opacity: 1; transform: translateX(0); } } .icon-bar { position: fixed; top: 50%; left: 0; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; } .icon-bar a { display: block; background: #ff7e5f; padding: 10px; text-align: center; color: #fff; border-radius: 0 5px 5px 0; transition: background 0.3s; } .icon-bar a:hover { background: #feb47b; } .emoji { font-size: 1.5em; } .highlight { background: #ffeb3b; padding: 3px 5px; 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>Welcome to Our Professional Article <span class="emoji">✨</span></h1> </div> <div class="article-content"> <h2>Introduction <span class="emoji">👋</span></h2> <p class="fade-in">This article showcases the power of creative styling, animations, and modern web design techniques. Our goal is to make your reading experience delightful and engaging. Let's dive in!</p> <h2>Why Style Matters <span class="emoji">🎨</span></h2> <p class="fade-in">The right styling can turn a plain article into an interactive and memorable experience. By using <span class="highlight">animations</span>, <span class="highlight">emojis</span>, and <span class="highlight">icons</span>, we can highlight important points and add a touch of personality to our content.</p> <h2>Conclusion <span class="emoji">📚</span></h2> <p class="fade-in">We hope this article inspires you to experiment with your own designs. Remember, the key to a great article is not just the content, but also how it's presented. Happy designing!</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>