screen_rotation
Copied to Clipboard
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" /> </head> <body> <div class="container"> <h1>Fa Brands Fa Whatsapp icon | HTML CSS </h1> <span>Click the button to chat on WhatsApp:</span> <a href="#" class="whatsapp-button"><i class="fa-brands fa-whatsapp"></i> Whatsapp</a> <p>Default Size: <i class="fa-brands fa-whatsapp"></i></p> <p>Size 2xs: <i class="fa-brands fa-whatsapp fa-2xs"></i></p> <p>Size xs : <i class="fa-brands fa-whatsapp fa-xs"></i></p> <p>Size sm :<i class="fa-brands fa-whatsapp fa-sm"></i></p> <p>Size lg : <i class="fa-brands fa-whatsapp fa-lg"></i></p> <p>Size xl : <i class="fa-brands fa-whatsapp fa-xl"></i></p> <p>Size xl : <i class="fa-brands fa-whatsapp fa-2xl"></i></p> </div> <style> .whatsapp-button { display: inline-block; padding: 10px 20px; color: #ffffff; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; background-color: #25D366; color: #fff; padding: 10px; text-decoration: none; transition: background-color 0.3s ease-in-out; } .whatsapp-button:hover { background-color: #128C7E; } .container { margin: 0 auto; width: 600px; padding: 20px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24); } </style> </body> </html>