Created
July 23, 2017 08:39
-
-
Save akshayagarwal/f78e82eb8b4c9e5aef8420176987bb2c to your computer and use it in GitHub Desktop.
Bootstrap button customisation with pressed state and hover
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
.btn-primary { | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | |
border-radius: 3px; | |
background-color: #f57e17; | |
color: #ffffff; | |
border-color: #f57e17; | |
font-size: 20px; | |
padding: 8px 22px; | |
} | |
.btn-primary:hover,.btn-primary:active,.btn-primary:link,.btn-primary:focus,.btn-primary:active:focus { | |
background-color: #e46b07; | |
border-color: #e46b07; | |
} | |
.btn:active:focus, .btn:focus { | |
outline: none; | |
outline-offset: 0px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment