Created
January 17, 2015 09:08
-
-
Save SnippetsCollection/7a76112bc836092dd2e3 to your computer and use it in GitHub Desktop.
CSS: Styling <kbd></kbd>
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
kbd { | |
padding: .1em .6em; | |
border: 1px solid rgba(0,0,0,0.25); | |
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.25); | |
box-shadow: 0 1px 0 rgba(0,0,0,0.25); | |
font-size: .7em; | |
font-family: sans-serif; | |
background-color: #fff; | |
color: #333; | |
border-radius: 3px; | |
display: inline-block; | |
margin: 0 .1em; | |
white-space: nowrap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment