diff --git a/guide/english/bootstrap/panels/index.md b/guide/english/bootstrap/panels/index.md index 0fc2864945..6316f97bfe 100644 --- a/guide/english/bootstrap/panels/index.md +++ b/guide/english/bootstrap/panels/index.md @@ -10,7 +10,18 @@ Panels were dropped in Bootstrap 4 in favor of cards, as were thumbnails and wel #### How To Use: To use Bootstrap Panels you add a `
` with a class for your type of panel (class `panel panel-default` or something similar, see the panel examples for more information.) and then two nested `
` tags, one for the heading (class `panel panel-heading`) and one for the body (class `panel panel-body`). You may find that the Code Example is easier to understand than a written explanation. -**Code Example** +#### Panel Examples: +This is a set of examples that shows each type of panel. The CSS Class is displayed above each example. + +- default +```html +
+
Panel Default
+
This is a panel with the default panel style.
+
+``` + +- primary ```html
Panel Primary
@@ -18,45 +29,40 @@ To use Bootstrap Panels you add a `
` with a class for your type of panel (c
``` -#### Panel Examples: -This is a set of examples that shows each type of panel. The CSS Class is displayed above each example. - -`panel panel-default` -
-
Panel Default
-
This is a panel with the default panel style.
-
- -`panel panel-primary` -
-
Panel Primary
-
This is a panel with the primary panel style.
-
- -`panel panel-success` +- success +```html
-
Panel Success
-
This is a panel with the success panel style.
+
Panel Success
+
This is a panel with the success panel style.
+``` -`panel panel-info` +- info +```html
-
Panel Info
-
This is a panel with the info panel style.
+
Panel Info
+
This is a panel with the info panel style.
+``` -`panel panel-warning` +- warning +```html
-
Panel Warning
-
This is a panel with the warning panel style.
+
Panel Warning
+
This is a panel with the warning panel style.
+``` -`panel panel-danger` +- danger +```html
-
Panel Danger
-
This is a panel with the danger panel style.
-
+
Panel Danger
+
This is a panel with the danger panel style.
+
+``` +- For v4.0.0 components like Panels, thumbnails, and wells are dropped entirely for the new `card` component. ### More Information - [Bootstrap dropdown documentation](https://getbootstrap.com/docs/4.0/components/dropdowns/) +- [Bootstrap v4.0.0 Migration Panels](https://getbootstrap.com/docs/4.1/migration/#panels/)