aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-07 12:18:13 -0800
committerMark Otto <[email protected]>2013-12-07 12:18:13 -0800
commitb1215d1b2ecd6cd3898af19ce43cc647e2ec854a (patch)
tree0eb32a476a11c775eeeec5f5bb47731f918971ba /css.html
parentfe58357df182b52f5905f432a3b2629c717656f1 (diff)
downloadbootstrap-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.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/css.html b/css.html
index c120e3be3..561ffe448 100644
--- a/css.html
+++ b/css.html
@@ -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>&lt;code&gt;</code>.</p>
<div class="bs-example">
For example, <code>&lt;section&gt;</code> should be wrapped as inline.
@@ -1056,7 +1056,16 @@ base_url: "../"
For example, <code>&lt;section&gt;</code> should be wrapped as inline.
{% endhighlight %}
- <h2>Basic block</h2>
+ <h2 id="code-user-input">User input</h2>
+ <p>Use the <code>&lt;kbd&gt;</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>&lt;pre&gt;</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>&lt;p&gt;Sample text here...&lt;/p&gt;</pre>