Slide Up Social Media Icons - 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"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <title>Slide Up Social Media Icons</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #f3f4f6; margin: 0; font-family: Arial, sans-serif; } .social-icons { display: flex; gap: 20px; } .social-icons a { position: relative; display: flex; justify-content: center; align-items: center; width: 80px; height: 80px; background: #fff; border-radius: 50%; text-decoration: none; color: #333; font-size: 2em; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; } .social-icons a::before { content: ''; position: absolute; width: 200%; height: 200%; background: rgba(0, 0, 0, 0.1); border-radius: 50%; top: 100%; left: 50%; transform: translateX(-50%); transition: top 0.3s; } .social-icons a:hover::before { top: 50%; } .social-icons a span { position: relative; z-index: 1; } </style> </head> <body> <div class="social-icons"> <a href="#" title="Facebook"> <span class="fa fa-facebook-f"></span> </a> <a href="#" title="Twitter"> <span class="fa fa-twitter"></span> </a> <a href="#" title="Instagram"> <span class="fa fa-instagram"></span> </a> <a href="#" title="YouTube"> <span class="fa fa-youtube"></span> </a> </div> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> </body> </html>