Minimalist 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>Minimalist Followers</title> <style> @import url('https://fonts.googleapis.com/css2?family=Roboto: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: 'Roboto', sans-serif; background: linear-gradient(135deg, #fdfbfb, #ebedee); display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; color: #333; } .followers-section { background: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); padding: 20px; width: 350px; text-align: center; position: relative; overflow: hidden; } .followers-section .profile-pic { width: 100px; height: 100px; border-radius: 50%; 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-around; margin-top: 20px; } .followers-section .follower { background: #f0f0f0; 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: #3498db; 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: #2980b9; 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">Michael Smith</div> <div class="bio">Graphic Designer</div> <div class="followers"> <div class="follower"> <div class="follower-count">900</div> <div class="follower-label">Followers</div> </div> <div class="follower"> <div class="follower-count">650</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 Michael Smith!'); }); </script> </body> </html>