WhatsApp, Telegram, instagram pop up button html code free

<!DOCTYPE html>
<html>
<head>
    <style>
        /* Floating button container */
        .floating-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
        }

        /* Main floating button */
        .floating-button {
            width: 60px;
            height: 60px;
            background: #25D366; /* WhatsApp green color */
            border-radius: 50%;
            text-align: center;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        /* Popup container */
        .popup {
            position: absolute;
            bottom: 70px;
            right: 0;
            background: white;
            border-radius: 15px;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
            transform: scale(0);
            transform-origin: bottom right;
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        /* Show popup when active */
        .popup.active {
            transform: scale(1);
        }

        /* Individual social buttons */
        .social-button {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s;
        }

        /* WhatsApp button */
        .whatsapp { background: #25D366; }

        /* Telegram button */
        .telegram { background: #0088cc; }

        /* Instagram button */
        .instagram { 
            background: #f09433; 
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
        }

        /* Icon styling */
        .social-button i {
            color: white;
            font-size: 24px;
        }

        /* Hover effects */
        .floating-button:hover { transform: scale(1.1); }
        .social-button:hover { transform: scale(1.1); }
    </style>
    <!-- Font Awesome for icons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>

<div class="floating-container">
    <div class="popup">
        <a href="https://wa.me/1234567890" target="_blank" class="social-button whatsapp">
            <i class="fab fa-whatsapp"></i>
        </a>
        <a href="https://t.me/username" target="_blank" class="social-button telegram">
            <i class="fab fa-telegram"></i>
        </a>
        <a href="https://instagram.com/username" target="_blank" class="social-button instagram">
            <i class="fab fa-instagram"></i>
        </a>
    </div>
    <div class="floating-button" onclick="togglePopup()">
        <i class="fas fa-comment-dots" style="color: white; font-size: 28px;"></i>
    </div>
</div>

<script>
    function togglePopup() {
        const popup = document.querySelector('.popup');
        popup.classList.toggle('active');
    }
</script>

</body>
</html>

Post a Comment

0 Comments