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 Google HTML | CSS (fab fa-google)</h2> <p>Google with Button: <a href="#" class="custom-button"><i class="fab fa-google"></i> Google it</a> </p> <h3>Customize Size</h3> <p>Default Size: <i class="fab fa-google"></i></p> <p>Size xs : <i class="fab fa-google fa-xs"></i></p> <p>Size sm :<i class="fab fa-google fa-sm"></i></p> <p>Size lg : <i class="fab fa-google fa-lg"></i></p> <h3>Customize Size and Color</h3> <p>Size xs : <i class="fab fa-google fa-xs" style="color: #FFD43B;"></i></p> <p>Size sm :<i class="fab fa-google fa-sm" style="color: #63E6BE;"></i></p> <p>Size lg : <i class="fab fa-google fa-lg" style="color: #B197FC;"></i></p> </div> <style> .custom-button { display: inline-block; padding: 10px 20px; background-color: #4285f4; /* Google's blue color */ color: #ffffff; /* White text */ text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; } .custom-button i { margin-right: 8px; /* Adjust the spacing between icon and text */ } .custom-button:hover { background-color: #2a65f2; /* 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>