Modern Minimalist 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>Modern Minimalist Article</title> <style> @import url('https://fonts.googleapis.com/css2?family=Montserrat: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: 'Montserrat', sans-serif; background: #f9f9f9; margin: 0; padding: 0; } .article-container { max-width: 700px; margin: 50px auto; background: #fff; border-radius: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); overflow: hidden; position: relative; padding: 20px; animation: fade-in-up 1s ease-out forwards; } @keyframes fade-in-up { 0% { opacity: 0; transform: translateY(50px); } 100% { opacity: 1; transform: translateY(0); } } .article-header { text-align: center; color: #333; } .article-header h1 { margin: 0; font-size: 2.5em; font-weight: 700; } .article-content { padding: 20px; line-height: 1.6; color: #666; } .article-content h2 { color: #333; margin-top: 1.5em; font-weight: 700; } .icon-bar { position: fixed; top: 50%; left: 0; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; } .icon-bar a { display: block; background: #333; padding: 10px; text-align: center; color: #fff; border-radius: 0 5px 5px 0; transition: background 0.3s; } .icon-bar a:hover { background: #555; } .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>Modern Minimalist Article</h1> </div> <div class="article-content"> <h2>Introduction</h2> <p class="fade-in">This article embraces minimalism with a clean and modern design, focusing on simplicity and readability.</p> <h2>Why Style Matters</h2> <p class="fade-in">Minimalist design principles can make your content more accessible and visually appealing by removing unnecessary clutter and focusing on the essentials.</p> <h2>Conclusion</h2> <p class="fade-in">We hope you appreciate the Modern Minimalist design. Sometimes, less truly is more.</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>