Last active
April 16, 2024 06:52
-
-
Save JoostvDoorn/32d7b63c69a2522d4b19c43ac01081bd to your computer and use it in GitHub Desktop.
Google signin buttons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel=stylesheet type=text/css href="style.css"> | |
<a class="google-signin"></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.google-signin { | |
background-image: url('btn_google_signin_dark_normal_web.png'); | |
display: inline-block; | |
width: 191px; | |
height: 46px; | |
border: 0px; | |
} | |
.google-signin:hover { | |
background-image: url('btn_google_signin_dark_focus_web.png'); | |
cursor: pointer; | |
} | |
.google-signin:active { | |
background-image: url('btn_google_signin_dark_pressed_web.png'); | |
} | |
.google-signin:disabled { | |
background-image: url('btn_google_signin_dark_disabled_web.png'); | |
} |
@tweaking-pranav maybe use this instead https://developers.google.com/identity/gsi/web/guides/display-button? This will automatically adjust the display language for you.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where we get this button in other languages.