Vibrant Media Object - 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>Vibrant Media Object</title> <style> body { font-family: 'Arial', sans-serif; background-color: #ffecb3; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .media-object { display: flex; align-items: center; background: #ff5722; border-radius: 20px; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); color: #ffffff; transition: transform 0.3s ease-in-out; } .media-object:hover { transform: translateY(-5px) rotate(-3deg); } .media-object img { border-radius: 50%; width: 80px; height: 80px; margin-right: 15px; transition: transform 0.3s ease; } .media-object:hover img { transform: rotate(15deg); } .media-object .content { max-width: 350px; } .media-object .content h2 { margin: 0; font-size: 1.3rem; display: flex; align-items: center; } .media-object .content h2 .emoji { margin-left: 8px; } .media-object .content p { margin: 10px 0; } .media-object .content .icons { display: flex; gap: 8px; } .media-object .content .icons i { font-size: 1.3rem; cursor: pointer; transition: color 0.3s ease, transform 0.3s ease; } .media-object .content .icons i:hover { color: #ffccbc; transform: scale(1.2); } </style> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> </head> <body> <div class="media-object"> <img src="https://via.placeholder.com/80" alt="Profile Picture"> <div class="content"> <h2>Samantha Green <span class="emoji">🔥</span></h2> <p>Maecenas tincidunt est nec quam convallis, eget dignissim nisi bibendum. Vestibulum ante ipsum primis.</p> <div class="icons"> <i class="fas fa-heart"></i> <i class="fas fa-comment"></i> <i class="fas fa-share-alt"></i> </div> </div> </div> </body> </html>