screen_rotation
Copied to Clipboard
<!DOCTYPE html> <html> <head> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet" /> </head> <body> <div class="container"> <h2>Font Awesome Facebook Square HTML | CSS (fab fa-facebook-square)</h2> <p>Facebook Sqaure with Button: <a href="#" class="custom-button"><i class="fab fa-facebook-square"></i> Facebook Login</a> </p> <h3>Customize Size</h3> <p>Default Size: <i class="fab fa-facebook-square"></i></p> <p>Size xs : <i class="fab fa-facebook-square fa-xs"></i></p> <p>Size sm :<i class="fab fa-facebook-square fa-sm"></i></p> <p>Size lg : <i class="fab fa-facebook-square fa-lg"></i></p> <h3>Customize Size and Color</h3> <p>Size xs : <i class="fab fa-facebook-square fa-xs" style="color: #FFD43B;"></i></p> <p>Size sm :<i class="fab fa-facebook-square fa-sm" style="color: #63E6BE;"></i></p> <p>Size lg : <i class="fab fa-facebook-square fa-lg" style="color: #B197FC;"></i></p> </div> <style> .custom-button { display: inline-block; background-color: #0088cc; color: #ffffff; /* Text color */ padding: 10px 15px; text-decoration: none; border-radius: 5px; } .custom-button i { margin-right: 5px; /* Adjust as needed for spacing */ } .custom-button:hover { background-color: #006699; /* Darker shade on hover */ } body { background-color: #f8f9fa; } .container { margin: 20px auto; max-width: 600px; padding: 10px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24); background-color: #fff; border-radius: 8px; } </style> </body> </html>