2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

rearrange docs components

This commit is contained in:
Mark Otto
2014-07-11 22:34:47 -07:00
parent 60cf7d45db
commit d9bb7ddac5
16 changed files with 1015 additions and 1548 deletions
-20
View File
@@ -5,10 +5,6 @@ title: Scaffolding
Get the lowdown on the key pieces of Bootstrap's infrastructure, including our approach to better, faster, stronger web development.
<a id="overview-doctype"></a>
### HTML5 doctype
Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.
@@ -20,10 +16,6 @@ Bootstrap makes use of certain HTML elements and CSS properties that require the
</html>
{% endhighlight %}
<a id="overview-mobile"></a>
### Mobile first
With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework. With Bootstrap 3, we've rewritten the project to be mobile friendly from the start. Instead of adding on optional mobile styles, they're baked right into the core. In fact, **Bootstrap is mobile first**. Mobile first styles can be found throughout the entire library instead of in separate files.
@@ -40,10 +32,6 @@ You can disable zooming capabilities on mobile devices by adding `user-scalable=
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
{% endhighlight %}
<a id="overview-type-links"></a>
### Typography and links
Bootstrap sets basic global display, typography, and link styles. Specifically, we:
@@ -54,18 +42,10 @@ Bootstrap sets basic global display, typography, and link styles. Specifically,
These styles can be found within `scaffolding.less`.
<a id="overview-normalize"></a>
### Normalize
For improved cross-browser rendering, we use [Normalize.css](http://necolas.github.io/normalize.css/) to correct small inconsistencies across browsers and devices.
<a id="overview-containers"></a>
### Containers
Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects. Note that, due to `padding` and more, neither container is nestable.