diff options
| author | Mark Otto <[email protected]> | 2013-12-07 12:18:13 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-07 12:18:13 -0800 |
| commit | b1215d1b2ecd6cd3898af19ce43cc647e2ec854a (patch) | |
| tree | 0eb32a476a11c775eeeec5f5bb47731f918971ba /css.html | |
| parent | fe58357df182b52f5905f432a3b2629c717656f1 (diff) | |
| download | bootstrap-b1215d1b2ecd6cd3898af19ce43cc647e2ec854a.tar.xz bootstrap-b1215d1b2ecd6cd3898af19ce43cc647e2ec854a.zip | |
Fixes #11193: Add kbd element styles to indicate user input via keyboard
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1047,7 +1047,7 @@ base_url: "../" <h1 id="code">Code</h1> </div> - <h2>Inline</h2> + <h2 id="code-inline">Inline</h2> <p>Wrap inline snippets of code with <code><code></code>.</p> <div class="bs-example"> For example, <code><section></code> should be wrapped as inline. @@ -1056,7 +1056,16 @@ base_url: "../" For example, <code><section></code> should be wrapped as inline. {% endhighlight %} - <h2>Basic block</h2> + <h2 id="code-user-input">User input</h2> + <p>Use the <code><kbd></code> to indicate input that is typically entered via keyboard.</p> +<div class="bs-example"> + To switch directories, type <kbd>cd</kbd> followed the name of the directory. +</div> +{% highlight html %} + To switch directories, type <kbd>cd</kbd> followed the name of the directory. +{% endhighlight %} + + <h2 id="code-block">Basic block</h2> <p>Use <code><pre></code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.</p> <div class="bs-example"> <pre><p>Sample text here...</p></pre> |
