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

Fixes #21195: Add more table of contents to pages with longer contents

This commit is contained in:
Mark Otto
2016-11-25 14:01:06 -08:00
parent 5b151eb891
commit 83c8bfa30d
9 changed files with 48 additions and 3 deletions
+5
View File
@@ -8,6 +8,11 @@ redirect_from: "/layout/"
Bootstrap includes several components and options for laying out your project, including wrapping containers, a powerful grid system, a flexible media object, and responsive utility classes.
## Contents
* Will be replaced with the ToC, excluding the "Contents" header
{:toc}
## Containers
Containers are the most basic layout element in Bootstrap and are **required when using our grid system**. Choose from a responsive, fixed-width container (meaning its `max-width` changes at each breakpoint) or fluid-width (meaning it's `100%` wide all the time).
+5
View File
@@ -9,6 +9,11 @@ For faster mobile-friendly development, use these utility classes for showing an
Try to use these on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation.
## Contents
* Will be replaced with the ToC, excluding the "Contents" header
{:toc}
## Available classes
* The `.hidden-*-up` classes hide the element when the viewport is at the given breakpoint or wider. For example, `.hidden-md-up` hides an element on medium, large, and extra-large viewports.