The dividers are automatically created in the content of the `:before` pseudo-element of li tags. You can inform the current page using the `active` modifier in a `li` tag. It will disable the navigation of inner links.
{% capture code %}
{% include ui/breadcrumb.html %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code centered=true %}
### Breadcrumb variations
## Breadcrumb variations
You can add more variations by modify `$breadcrumb-variants` variable in Tabler config.
{% capture code %}
{% include ui/breadcrumb.html class="breadcrumb-dots" %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code centered=true %}
{% capture code %}
{% include ui/breadcrumb.html class="breadcrumb-arrows" %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code centered=true %}
{% capture code %}
{% include ui/breadcrumb.html class="breadcrumb-bullets" %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code centered=true %}
### Alternate version
## Alternate version
{% capture code %}
{% include ui/breadcrumb.html class="breadcrumb-alternate" %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code centered=true %}
description:Use Bootstrap’s custom button styles for actions in forms, dialogs, and more. Includes support for a handful of contextual variations, sizes, states, and more.
bootstrap-link:components/buttons/
done:true
toc:true
---
### Button tag
## Button tag
The `.btn` classes are designed to be used with the `<button>` element. However, you can also use these classes on `<a>` or `<input>` elements (though some browsers may apply a slightly different rendering).
...
...
@@ -21,7 +20,7 @@ The `.btn` classes are designed to be used with the `<button>` element. However,
{% include example.html code=code wrapper="btn-list" centered=true %}
### Button variations
## Button variations
Use any of the available button classes to quickly create a styled button . We provide a variety of colors for you to express different emotions.
...
...
@@ -34,7 +33,7 @@ Use any of the available button classes to quickly create a styled button . We p
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Disabled buttons
## Disabled buttons
Make buttons look inactive by adding the disabled boolean attribute to any `.btn` element. `<a>`s don’t support the disabled attribute, so you must add the `.disabled` class to make it visually appear disabled.
...
...
@@ -47,7 +46,7 @@ Make buttons look inactive by adding the disabled boolean attribute to any `.btn
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Color variations
## Color variations
The classic button, in different colors.
...
...
@@ -58,7 +57,7 @@ The classic button, in different colors.
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Ghost Buttons
## Ghost Buttons
Use `.btn-ghost-*` class for ghost buttons.
...
...
@@ -69,7 +68,7 @@ Use `.btn-ghost-*` class for ghost buttons.
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Square buttons
## Square buttons
Add `.btn-square` to button to remove border-radius.
...
...
@@ -82,7 +81,7 @@ Add `.btn-square` to button to remove border-radius.
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Pill buttons
## Pill buttons
Add `.btn-pill` class to any button to make them more rounded.
...
...
@@ -95,7 +94,7 @@ Add `.btn-pill` class to any button to make them more rounded.
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Outline buttons
## Outline buttons
In need of a button, but not the hefty background colors they bring? Replace the default modifier classes with the `.btn-outline-*` ones to remove all background images and colors on any button.
...
...
@@ -108,7 +107,7 @@ In need of a button, but not the hefty background colors they bring? Replace the
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Button size
## Button size
Add `.btn-lg` or `.btn-sm` for additional sizes.
...
...
@@ -132,7 +131,7 @@ Create block level buttons—those that span the full width of a parent—by add
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Button with icon
## Button with icon
Basic buttons are traditional buttons with borders and background with an extra commponent like an icon. You can place it either on the left or the right which ever you want with different color opitons.
...
...
@@ -166,7 +165,7 @@ Comment
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Social buttons
## Social buttons
A button can be formatted to link to a social website
...
...
@@ -191,7 +190,7 @@ You can use only icons.
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Icon buttons
## Icon buttons
Icon only button. Add `.btn-icon` class to remove unnecessary padding from button.
...
...
@@ -207,7 +206,7 @@ Icon only button. Add `.btn-icon` class to remove unnecessary padding from butto
{% include example.html code=code wrapper="btn-list" centered=true %}
### Button dropdown
## Button dropdown
Wrap the dropdown’s toggle (your button or link) and the dropdown menu within `.dropdown`, or another element that declares `position: relative;`. Dropdowns can be triggered from `<a>` or `<button>` elements to better fit your potential needs.
...
...
@@ -235,7 +234,7 @@ Wrap the dropdown’s toggle (your button or link) and the dropdown menu within
{% endcapture %}
{% include example.html code=code wrapper="btn-list" centered=true %}
### Loading button
## Loading button
Add `.btn-loading` to use a loading state on a button. The width of the button depends on the length of the text inside.
...
...
@@ -253,7 +252,7 @@ Add `.btn-loading` to use a loading state on a button. The width of the button d
{% endcapture %}
{% include example.html code=code centered=true %}
### List of buttons
## List of buttons
You can now create a list of buttons with the `.btn-list` container.
...
...
@@ -320,7 +319,7 @@ Use the `.text-center` or the `.text-right` modifiers to alter the alignment.
description:A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options.
bootstrap-link:components/card/
done:true
toc:true
---
The `.card` element is simply a container with a shadow, a border, a radius, and some padding. Built with flexbox, they offer easy alignment and mix well with other Bootstrap components.
...
...
@@ -18,7 +17,7 @@ To create a new card you have to use the `.card` and `.card-body` classes. You c
{% endcapture %}
{% include example.html code=code columns=1 %}
### Card padding
## Card padding
You can change the padding of a newly created card. You can do this with the `.card-sm`, `.card-md` and `.card-lg` classes.
Using Bootstrap’s typical naming structure, you can create a standard flag, or scale it up to different sizes based on what’s needed.
...
...
@@ -26,7 +26,7 @@ Using Bootstrap’s typical naming structure, you can create a standard flag, or
{% endcapture %}
{% include example.html code=code %}
### Types
## Types
To set the flag of the country you want add a class `flag-(country name)`. For example to create a flag of Andorra your class should look like this: `.flag-ad`.
<textareaclass="form-control"name="example-textarea-input"rows="6"placeholder="Content..">Oh! Come and see the violence inherent in the system! Help, help, I'm being repressed! We shall say 'Ni' again to you, if you do not appease us. I'm not a witch. I'm not a witch. Camelot!</textarea>
</div>
{% include parts/form/input-sizes.html %}
{% endcapture %}
{% include example.html code=code %}
### Image check
## Image check
{% capture code %}
{% include parts/form/input-image.html %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code max-width="25rem" %}
## Input color
### Input color
{% capture code %}
{% include parts/form/input-color.html %}
{% endcapture %}
{% include example.html code=code %}
### Input color picker
## Input color picker
{% capture code %}
{% include parts/form/input-colorpicker.html %}
{% endcapture %}
{% include example.html code=code %}
### Datalists
## Datalists
{% capture code %}
{% include parts/form/input-datalist.html %}
{% endcapture %}
{% include example.html code=code %}
### Custom selectboxes
## Custom selectboxes
{% capture code %}
{% include parts/form/input-selectgroups.html %}
{% endcapture %}
{% include example.html code=code %}
### Toggle switches
## Toggle switches
{% capture code %}
{% include parts/form/input-toggle.html %}
{% include parts/form/input-toggle-single.html %}
{% endcapture %}
{% include example.html code=code %}
### Radios
## Radios
{% capture code %}
{% include parts/form/input-radios.html %}
{% include parts/form/input-radios-inline.html %}
{% endcapture %}
{% include example.html code=code %}
### Checkboxes
## Checkboxes
{% capture code %}
{% include parts/form/input-checkboxes.html %}
{% include parts/form/input-checkboxes-inline.html %}
<spanclass="form-help"data-toggle="popover"data-placement="top"data-content="<p>ZIP Code must be US or CDN format. You can use an extended ZIP+4 code to determine address more accurately.</p><p class='mb-0'><a href=''>USP ZIP codes lookup tools</a></p>">?</span>
By setting `js-name` you can access slider in your js code. **Remember to use it in your code after the page has loaded.**
```js
...
...
@@ -55,7 +55,7 @@ function slider(){
{% endcapture %}
{% include example.html code=code %}
### start
## start
The `start` option sets the number of handles and corresponding start positions.
...
...
@@ -71,7 +71,7 @@ The `start` option uses the slider's `'format'` option to decode the input. Numb
{% endcapture %}
{% include example.html code=code %}
### range
## range
All values on the slider are part of a range. The range has a minimum and maximum value. **The minimum value cannot be equal to the maximum value.**
...
...
@@ -85,7 +85,7 @@ All values on the slider are part of a range. The range has a minimum and maximu
{% endcapture %}
{% include example.html code=code %}
### step
## step
By default, the slider slides fluently. In order to make the handles jump between intervals, you can use the step option.
...
...
@@ -99,7 +99,7 @@ By default, the slider slides fluently. In order to make the handles jump betwee
{% endcapture %}
{% include example.html code=code %}
### connect
## connect
The connect option can be used to control the bar between the handles or the edges of the slider.
...
...
@@ -118,7 +118,7 @@ Setting true sets the bars between the handles, but not between the handles and
{% endcapture %}
{% include example.html code=code %}
### margin
## margin
When using two handles, the minimum distance between the handles can be set using the margin option. The margin value is relative to the value set in 'range'. This option is only available on linear sliders.
...
...
@@ -130,7 +130,7 @@ When using two handles, the minimum distance between the handles can be set usin
{% endcapture %}
{% include example.html code=code %}
### limit
## limit
The `limit` option is the oposite of the margin option, limiting the maximum distance between two handles. As with the margin option, the `limit` option can only be used on linear sliders.
...
...
@@ -140,7 +140,7 @@ The `limit` option is the oposite of the margin option, limiting the maximum dis
{% endcapture %}
{% include example.html code=code %}
### padding
## padding
Padding limits how close to the slider edges handles can be.
@@ -5,14 +5,14 @@ description: The toast component is like an alert box that is only shown for a c
bootstrap-link:components/toasts/
---
### Default markup
## Default markup
{% capture code %}
{% include ui/toast.html %}
{% endcapture %}
{% include example.html code=code %}
### Translucent
## Translucent
Toasts are slightly translucent, too, so they blend over whatever they might appear over. For browsers that support the `backdrop-filter` CSS property, we’ll also attempt to blur the elements under a toast.
...
...
@@ -21,7 +21,7 @@ Toasts are slightly translucent, too, so they blend over whatever they might app
{% endcapture %}
{% include example.html code=code %}
### Stacking toasts
## Stacking toasts
If you want to stack toasts just put them in the same container.
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
@@ -44,14 +44,14 @@ Text <sup>Superscripted</sup>{% hide %} <code class="ml-2">sup</code><br/>{% end
{% endcapture %}
{% include example.html code=code %}
### Horizontal rules
## Horizontal rules
{% capture code %}
<hr>
{% endcapture %}
{% include example.html code=code %}
#### Horizontal rules with label
## Horizontal rules with label
{% capture code %}
<p>
...
...
@@ -79,7 +79,9 @@ Text <sup>Superscripted</sup>{% hide %} <code class="ml-2">sup</code><br/>{% end
{% include example.html code=code %}
### Optimized for Asian, African, and Middle Eastern alphabets
## Optimized for different alphabets
Tabler has been optimized to correctly display content in any language. The Tabler supports most Asian, African and Middle Eastern languages.
{% capture code %}
<h5>Chinese</h5>
...
...
@@ -114,7 +116,7 @@ Text <sup>Superscripted</sup>{% hide %} <code class="ml-2">sup</code><br/>{% end
{% endcapture %}
{% include example.html code=code %}
### Text transform
## Text transform
Transform text in components with text capitalization classes.
...
...
@@ -125,7 +127,7 @@ Transform text in components with text capitalization classes.
{% endcapture %}
{% include example.html code=code %}
### Letter spacing
## Letter spacing
Utilities for controlling the tracking (letter spacing) of an element.
...
...
@@ -136,7 +138,7 @@ Utilities for controlling the tracking (letter spacing) of an element.
{% endcapture %}
{% include example.html code=code %}
### Line Height
## Line Height
Utilities for controlling the leading (line height) of an element.
...
...
@@ -148,7 +150,7 @@ Utilities for controlling the leading (line height) of an element.
{% endcapture %}
{% include example.html code=code %}
### Antialiasing
## Antialiasing
Utilities for controlling the font smoothing of an element.
...
...
@@ -160,7 +162,7 @@ Use the `.antialiased` utility to render text using subpixel antialiasing or use
{% endcapture %}
{% include example.html code=code %}
### Markdown elements
## Markdown elements
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `.markdown` as container. It can handle almost any HTML tag.