Vintage User Avatars - 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>Vintage User Avatars</title> <style> body { font-family: 'Courier New', Courier, monospace; background-color: #f5f5dc; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .avatar-container { display: flex; gap: 20px; } .avatar { position: relative; width: 150px; height: 150px; border: 4px solid #8b4513; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); background: #f0e68c; transition: transform 0.3s ease; } .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; } .avatar .name { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: #8b4513; color: white; padding: 5px 10px; border-radius: 20px; font-size: 14px; font-weight: bold; opacity: 0; transition: opacity 0.3s ease; } .avatar:hover { transform: scale(1.1); } .avatar:hover .name { opacity: 1; } </style> </head> <body> <div class="avatar-container"> <div class="avatar"> <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="User Avatar"> <div class="name">George Wilson</div> </div> <div class="avatar"> <img src="https://randomuser.me/api/portraits/women/15.jpg" alt="User Avatar"> <div class="name">Mary Johnson</div> </div> </div> </body> </html>