diff options
| author | Chris Rebert <[email protected]> | 2013-07-28 22:14:24 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-07-28 22:14:24 -0700 |
| commit | c9c2418a47cc887ea6bacd7783582741267dcd37 (patch) | |
| tree | f410d55f836cbbe3f88d97f24313935d47a69238 /css.html | |
| parent | 4ebb29e5bd499bab272038a35fa4db6ba8f82da1 (diff) | |
| parent | 7bcee1acd2e0c96ffb8895f6b72505bc377c8ec1 (diff) | |
| download | bootstrap-c9c2418a47cc887ea6bacd7783582741267dcd37.tar.xz bootstrap-c9c2418a47cc887ea6bacd7783582741267dcd37.zip | |
Merge pull request #8736 from twbs/css-docs-code
CSS docs page: apply <code> in a few places
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -45,13 +45,13 @@ base_url: "../" <li>Use the <code>@font-family-base</code>, <code>@font-size-base</code>, and <code>@line-height-base</code> attributes as our typographic base</li> <li>Set the global link color via <code>@link-color</code> and apply link underlines only on <code>:hover</code></li> </ul> - <p>These styles can be found within <strong>scaffolding.less</strong>.</p> + <p>These styles can be found within <code>scaffolding.less</code>.</p> <h3 id="overview-normalize">Normalize reset</h3> <p>For improved cross-browser rendering, we use <a href="http://necolas.github.io/normalize.css/" target="_blank">Normalize</a>, a project by <a href="http://twitter.com/necolas" target="_blank">Nicolas Gallagher</a> and <a href="http://twitter.com/jon_neal" target="_blank">Jonathan Neal</a>.</p> <h3 id="overview-container">Centering with container</h3> - <p>Easily center a page's contents by wrapping its contents in a container. Containers set <code>max-width</code> at various media query breakpoints to match our grid system.</p> + <p>Easily center a page's contents by wrapping its contents in a <code>.container</code>. Containers set <code>max-width</code> at various media query breakpoints to match our grid system.</p> {% highlight html %} <div class="container"> ... @@ -635,7 +635,7 @@ base_url: "../" {% endhighlight %} <h3>Blockquote options</h3> - <p>Style and content changes for simple variations on a standard blockquote.</p> + <p>Style and content changes for simple variations on a standard <code><blockquote></code>.</p> <h4>Naming a source</h4> <p>Add <code><small></code> tag for identifying the source. Wrap the name of the source work in <code><cite></code>.</p> @@ -1312,7 +1312,7 @@ For example, <code><section></code> should be wrapped as inline. <p>Examples of standard form controls supported in an example form layout.</p> <h3>Inputs</h3> - <p>Most common form control, text-based input fields. Includes support for all HTML5 types: text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color.</p> + <p>Most common form control, text-based input fields. Includes support for all HTML5 types: <code>text</code>, <code>password</code>, <code>datetime</code>, <code>datetime-local</code>, <code>date</code>, <code>month</code>, <code>time</code>, <code>week</code>, <code>number</code>, <code>email</code>, <code>url</code>, <code>search</code>, <code>tel</code>, and <code>color</code>.</p> <div class="bs-callout bs-callout-danger"> <h4>Type declaration required</h4> <p>Inputs will only be fully styled if their <code>type</code> is properly declared.</p> |
