Last active
August 29, 2015 14:05
-
-
Save egulhan/fb5f0966c348783e726e to your computer and use it in GitHub Desktop.
Keyboard key expression in HTML
This file contains hidden or 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 #ccc; | |
| font-size: 11px; | |
| font-family: Arial,Helvetica,sans-serif; | |
| background-color: #f7f7f7; | |
| color: #333; | |
| -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; | |
| -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; | |
| box-shadow: 0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; | |
| border-radius: 3px; | |
| display: inline-block; | |
| margin: 0 .1em; | |
| text-shadow: 0 1px 0 #fff; | |
| line-height: 1.4; | |
| white-space: nowrap; | |
| } |
This file contains hidden or 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
| <html> | |
| <body> | |
| <kbd>control</kbd>+<kbd>c</kbd> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment