Modern Icon Bar - 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>Modern Icon Bar</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> body { font-family: 'Arial', sans-serif; background-color: #1a1a1d; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .iconbar { width: 50%; display: flex; justify-content: space-around; align-items: center; background: #333; padding: 20px; border-radius: 50px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); } .iconbar a { color: #fff; font-size: 2rem; text-decoration: none; transition: all 0.3s ease; position: relative; } .iconbar a:hover { color: #00ff99; transform: rotate(360deg); } .iconbar a::before, .iconbar a::after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; transition: all 0.3s ease; } .iconbar a::before { border: 2px solid #00ff99; box-shadow: 0 0 15px #00ff99, 0 0 30px #00ff99, 0 0 45px #00ff99, 0 0 60px #00ff99; opacity: 0; transition: all 0.3s ease; } .iconbar a::after { border: 2px solid #00ff99; box-shadow: 0 0 15px #00ff99, 0 0 30px #00ff99, 0 0 45px #00ff99, 0 0 60px #00ff99; opacity: 0; transition: all 0.3s ease; } .iconbar a:hover::before, .iconbar a:hover::after { opacity: 1; } .iconbar a .emoji { display: block; font-size: 1.2rem; margin-top: 5px; } </style> </head> <body> <div class="iconbar"> <a href="#" class="icon"> <i class="fas fa-home"></i> </a> <a href="#" class="icon"> <i class="fas fa-search"></i> </a> <a href="#" class="icon"> <i class="fas fa-bell"></i> </a> <a href="#" class="icon"> <i class="fas fa-envelope"></i> </a> <a href="#" class="icon"> <i class="fas fa-user"></i> </a> </div> </body> </html>