Minimalist 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>Minimalist Media Object</title> <style> body { font-family: 'Arial', sans-serif; background-color: #f5f5f5; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .media-object { display: flex; align-items: center; background: #ffffff; border-radius: 10px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .media-object:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); } .media-object img { border-radius: 10px; width: 70px; height: 70px; margin-right: 15px; transition: transform 0.3s ease; } .media-object:hover img { transform: scale(1.1); } .media-object .content { max-width: 350px; } .media-object .content h2 { margin: 0; font-size: 1.3rem; color: #333; display: flex; align-items: center; } .media-object .content h2 .emoji { margin-left: 8px; } .media-object .content p { margin: 10px 0; color: #555; } .media-object .content .icons { display: flex; gap: 8px; } .media-object .content .icons i { font-size: 1.3rem; color: #555; cursor: pointer; transition: color 0.3s ease, transform 0.3s ease; } .media-object .content .icons i:hover { color: #007BFF; 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/70" alt="Profile Picture"> <div class="content"> <h2>Michael Brown <span class="emoji">✨</span></h2> <p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Nulla facilisi.</p> <div class="icons"> <i class="fas fa-thumbs-up"></i> <i class="fas fa-comment-dots"></i> <i class="fas fa-share"></i> </div> </div> </div> </body> </html>