Nature Vibes Friends Suggestions - 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>Nature Vibes Friends Suggestions</title> <style> body { font-family: 'Arial', sans-serif; background: #e0ffe0; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .suggestions-container { background: #fff; border-radius: 15px; box-shadow: 0 8px 16px rgba(0, 128, 0, 0.3); width: 400px; overflow: hidden; border: 1px solid #00b300; } .suggestions-header { background: linear-gradient(135deg, #00b300, #00ff00); color: #fff; padding: 20px; text-align: center; font-size: 1.5em; } .friend-card { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid #eee; transition: background 0.3s; } .friend-card:hover { background: #f0f0f0; } .friend-card img { border-radius: 50%; width: 50px; height: 50px; margin-right: 15px; box-shadow: 0 4px 8px rgba(0, 128, 0, 0.3); } .friend-info { flex: 1; } .friend-info h4 { margin: 0; font-size: 1.2em; color: #006600; } .friend-info p { margin: 5px 0 0; color: #777; font-size: 0.9em; } .add-friend-btn { background: #00b300; border: none; color: #fff; padding: 8px 15px; border-radius: 50px; cursor: pointer; transition: background 0.3s, transform 0.3s; display: flex; align-items: center; } .add-friend-btn:hover { background: #008000; transform: scale(1.05); } .add-friend-btn i { margin-right: 8px; font-size: 1.2em; } </style> </head> <body> <div class="suggestions-container"> <div class="suggestions-header"> Friends Suggestions </div> <div class="friend-card"> <img src="https://randomuser.me/api/portraits/men/7.jpg" alt="Friend 1"> <div class="friend-info"> <h4>Mark Green</h4> <p>3 mutual friends</p> </div> <button class="add-friend-btn"><i class="fas fa-user-plus"></i> Add</button> </div> <div class="friend-card"> <img src="https://randomuser.me/api/portraits/women/8.jpg" alt="Friend 2"> <div class="friend-info"> <h4>Sara Leaf</h4> <p>5 mutual friends</p> </div> <button class="add-friend-btn"><i class="fas fa-user-plus"></i> Add</button> </div> <div class="friend-card"> <img src="https://randomuser.me/api/portraits/men/9.jpg" alt="Friend 3"> <div class="friend-info"> <h4>Luke Forest</h4> <p>2 mutual friends</p> </div> <button class="add-friend-btn"><i class="fas fa-user-plus"></i> Add</button> </div> </div> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> </body> </html>