-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kbd
styles
#11193
Comments
Are you thinking of using the element as the selector, or writing a new class to support this? |
|
Hey. I found enought styles for this: @kbd-bg: #f5f5f5;
@kbd-border: #ccc;
@kbd-border-bottom: #aaa;
kbd {
padding: @padding-base-vertical @padding-base-horizontal;
background-color: @kbd-bg;
border: 1px solid @kbd-border;
border-bottom: 1px solid @kbd-border-bottom;
border-radius: @border-radius-base;
} Variable values can be changed, but I think that this is enought styles (border, padding, border-radius, background). Thoughts? |
@mdo Will the pull request help? |
@zdroid Nah, I can do this when we're ready. We can't (shouldn't?) do it now though because technically it's a new feature, and new features shouldn't be part of a patch release. We'll have to do it for 3.1. |
Right (I didn't thought about publishing it in 3.0.1). 2013/10/27 Mark Otto notifications@github.com
Zlatan Vasović - ZDroid |
Thanks. |
…t via keyboard
…t via keyboard
It would be nice to have default
kbd
styles that really looks like keyboard button, but please not like buttons.kbd
is very useful element for documentation, and it's nice for keyboard shortcuts.The text was updated successfully, but these errors were encountered: