mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
Update remaining tables to Bootstrap tables in docs by adding .table class
This commit is contained in:
parent
14e0ef57db
commit
af9d6c3dd3
@ -107,7 +107,7 @@ var bsAlert = new bootstrap.Alert(myAlert)
|
|||||||
|
|
||||||
This makes an alert listen for click events on descendant elements which have the `data-dismiss="alert"` attribute. (Not necessary when using the data-api's auto-initialization.)
|
This makes an alert listen for click events on descendant elements which have the `data-dismiss="alert"` attribute. (Not necessary when using the data-api's auto-initialization.)
|
||||||
|
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Method</th>
|
<th>Method</th>
|
||||||
@ -152,7 +152,7 @@ alert.close()
|
|||||||
|
|
||||||
Bootstrap's alert plugin exposes a few events for hooking into alert functionality.
|
Bootstrap's alert plugin exposes a few events for hooking into alert functionality.
|
||||||
|
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Event</th>
|
<th>Event</th>
|
||||||
|
@ -159,7 +159,7 @@ var button = document.getElementById('myButton')
|
|||||||
var bsButton = new bootstrap.Button(button)
|
var bsButton = new bootstrap.Button(button)
|
||||||
{{< /highlight >}}
|
{{< /highlight >}}
|
||||||
|
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Method</th>
|
<th>Method</th>
|
||||||
|
@ -862,7 +862,7 @@ Note when `boundary` is set to any value other than `'scrollParent'`, the style
|
|||||||
|
|
||||||
### Methods
|
### Methods
|
||||||
|
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Method</th>
|
<th>Method</th>
|
||||||
@ -914,7 +914,7 @@ Note when `boundary` is set to any value other than `'scrollParent'`, the style
|
|||||||
All dropdown events are fired at the `.dropdown-menu`'s parent element and have a `relatedTarget` property, whose value is the toggling anchor element.
|
All dropdown events are fired at the `.dropdown-menu`'s parent element and have a `relatedTarget` property, whose value is the toggling anchor element.
|
||||||
`hide.bs.dropdown` and `hidden.bs.dropdown` events have a `clickEvent` property (only when the original Event type is `click`) that contains an Event Object for the click event.
|
`hide.bs.dropdown` and `hidden.bs.dropdown` events have a `clickEvent` property (only when the original Event type is `click`) that contains an Event Object for the click event.
|
||||||
|
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Method</th>
|
<th>Method</th>
|
||||||
|
@ -53,7 +53,7 @@ This `font-family` is applied to the `<body>` and automatically inherited global
|
|||||||
|
|
||||||
All heading elements—e.g., `<h1>`—and `<p>` are reset to have their `margin-top` removed. Headings have `margin-bottom: .5rem` added and paragraphs `margin-bottom: 1rem` for easy spacing.
|
All heading elements—e.g., `<h1>`—and `<p>` are reset to have their `margin-top` removed. Headings have `margin-bottom: .5rem` added and paragraphs `margin-bottom: 1rem` for easy spacing.
|
||||||
|
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Heading</th>
|
<th>Heading</th>
|
||||||
|
@ -22,7 +22,7 @@ These styles can be found within `_reboot.scss`, and the global variables are de
|
|||||||
|
|
||||||
All HTML headings, `<h1>` through `<h6>`, are available.
|
All HTML headings, `<h1>` through `<h6>`, are available.
|
||||||
|
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Heading</th>
|
<th>Heading</th>
|
||||||
|
@ -55,7 +55,7 @@ To hide elements simply use the `.d-none` class or one of the `.d-{sm,md,lg,xl}-
|
|||||||
|
|
||||||
To show an element only on a given interval of screen sizes you can combine one `.d-*-none` class with a `.d-*-*` class, for example `.d-none .d-md-block .d-xl-none` will hide the element for all screen sizes except on medium and large devices.
|
To show an element only on a given interval of screen sizes you can combine one `.d-*-none` class with a `.d-*-*` class, for example `.d-none .d-md-block .d-xl-none` will hide the element for all screen sizes except on medium and large devices.
|
||||||
|
|
||||||
<table>
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Screen size</th>
|
<th>Screen size</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user