Unique Professional Div - 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 Professional Div</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> body { background: #f0f2f5; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; font-family: Arial, sans-serif; } .professional-div { position: relative; background: linear-gradient(135deg, #6e8efb, #a777e3); border-radius: 20px; padding: 20px; width: 300px; height: 200px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); overflow: hidden; color: #fff; text-align: center; animation: slide-in 1s ease-out forwards; } .professional-div::before, .professional-div::after { content: ''; position: absolute; border-radius: 50%; opacity: 0.6; } .professional-div::before { width: 100px; height: 100px; background: rgba(255, 255, 255, 0.2); top: -30px; left: -30px; animation: bounce 2s infinite alternate; } .professional-div::after { width: 200px; height: 200px; background: rgba(255, 255, 255, 0.1); bottom: -60px; right: -60px; animation: rotate 6s linear infinite; } @keyframes bounce { to { transform: translate(20px, 20px); } } @keyframes rotate { to { transform: rotate(360deg); } } @keyframes slide-in { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } } .professional-div h1 { font-size: 1.5em; margin: 0; } .professional-div p { font-size: 1em; margin-top: 10px; } .icon { font-size: 2em; margin-top: 20px; animation: fade-in 2s ease-out forwards; } @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } </style> </head> <body> <div class="professional-div"> <h1>Professional Div</h1> <p>Highly attractive and usable.</p> <div class="icon"> <i class="fas fa-star"></i> 🌟 </div> </div> </body> </html>