Elegant Followers - 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>Elegant Followers</title> <style> @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap'); @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css'); body { font-family: 'Playfair Display', serif; background: linear-gradient(135deg, #f3e5ab, #ffb3ba); display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; color: #333; } .followers-section { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); padding: 20px; width: 350px; text-align: center; position: relative; overflow: hidden; } .followers-section .profile-pic { width: 100px; height: 100px; border-radius: 50%; border: 5px solid #fff; margin: 0 auto 15px; } .followers-section .profile-pic img { width: 100%; height: 100%; border-radius: 50%; } .followers-section .username { font-size: 1.5em; margin-bottom: 10px; font-weight: 700; } .followers-section .bio { font-size: 0.9em; margin-bottom: 15px; color: #777; } .followers-section .followers { display: flex; justify-content: space-between; margin-top: 20px; } .followers-section .follower { background: #f7f7f7; border-radius: 10px; padding: 10px; width: 100px; position: relative; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .followers-section .follower-count { font-size: 1.5em; font-weight: bold; color: #333; } .followers-section .follower-label { font-size: 0.9em; color: #57606f; } .followers-section .follow-btn { background: #ff6b6b; color: #fff; padding: 12px 25px; border-radius: 30px; border: none; cursor: pointer; font-size: 1em; margin-top: 25px; transition: background 0.3s, transform 0.3s; } .followers-section .follow-btn:hover { background: #ff4757; transform: translateY(-3px); } .followers-section .follow-btn i { margin-right: 8px; } </style> </head> <body> <div class="followers-section"> <div class="profile-pic"> <img src="https://via.placeholder.com/100" alt="Profile Picture"> </div> <div class="username">Emily Clark</div> <div class="bio">Fashion Blogger</div> <div class="followers"> <div class="follower"> <div class="follower-count">3.1K</div> <div class="follower-label">Followers</div> </div> <div class="follower"> <div class="follower-count">1.4K</div> <div class="follower-label">Following</div> </div> </div> <button class="follow-btn"><i class="fas fa-user-plus"></i>Follow</button> </div> <script> document.querySelector('.follow-btn').addEventListener('click', function() { alert('You are now following Emily Clark!'); }); </script> </body> </html>