Unique Main Content Area - 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>Unique Main Content Area</title> <style> body { font-family: 'Arial', sans-serif; background: #f0f2f5; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; } .main-content { width: 80%; max-width: 1200px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); overflow: hidden; animation: fadeIn 1s ease-in-out; } .header { background: linear-gradient(45deg, #6a11cb, #2575fc); padding: 20px; text-align: center; color: #fff; position: relative; } .header h1 { margin: 0; font-size: 2.5em; } .header .icon { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); font-size: 2em; } .content { padding: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; } .content .card { background: #fafafa; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); padding: 20px; width: calc(33.333% - 20px); transition: transform 0.3s; position: relative; } .content .card:hover { transform: translateY(-10px); } .content .card .emoji { font-size: 3em; position: absolute; top: -30px; right: -30px; } .content .card h2 { margin: 0; margin-bottom: 10px; font-size: 1.5em; color: #333; } .content .card p { color: #666; } @keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } @media (max-width: 768px) { .content .card { width: calc(50% - 20px); } } @media (max-width: 480px) { .content .card { width: 100%; } } </style> </head> <body> <div class="main-content"> <div class="header"> <i class="fas fa-star icon"></i> <h1>Welcome to Your Professional Space!</h1> </div> <div class="content"> <div class="card"> <div class="emoji">🔥</div> <h2>Innovative Ideas</h2> <p>Explore creative solutions and breakthrough ideas that drive success.</p> </div> <div class="card"> <div class="emoji">💼</div> <h2>Professional Growth</h2> <p>Enhance your skills and knowledge to advance your career.</p> </div> <div class="card"> <div class="emoji">🌍</div> <h2>Global Reach</h2> <p>Connect with professionals and opportunities worldwide.</p> </div> <div class="card"> <div class="emoji">🚀</div> <h2>Fast-Track Development</h2> <p>Accelerate your projects with efficient strategies and tools.</p> </div> <div class="card"> <div class="emoji">🤝</div> <h2>Collaborative Environment</h2> <p>Work with like-minded individuals towards common goals.</p> </div> <div class="card"> <div class="emoji">🎨</div> <h2>Creative Freedom</h2> <p>Unleash your creativity in a supportive and inspiring space.</p> </div> </div> </div> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> </body> </html>