breadcrumb.md 1.2 KB
Newer Older
C
chomik 已提交
1 2 3
---
title: Breadcrumb
menu: docs.breadcrumb
C
codecalm 已提交
4
description: Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS.
C
codecalm 已提交
5
bootstrap-link: components/breadcrumb/
C
chomik 已提交
6 7 8
---


M
test  
Martyna 已提交
9

M
test  
Martyna 已提交
10 11
### Default markup
 
C
codecalm 已提交
12
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.
C
codecalm 已提交
13

C
codecalm 已提交
14
{% capture code %}
C
chomik 已提交
15
{% include ui/breadcrumb.html %}
C
codecalm 已提交
16 17
{% endcapture %}
{% include example.html code=code %}
C
chomik 已提交
18

C
codecalm 已提交
19 20 21
### Breadcrumb variations

You can add more variations by modify `$breadcrumb-variants` variable in Tabler config.
C
chomik 已提交
22

C
codecalm 已提交
23
{% capture code %}
C
chomik 已提交
24
{% include ui/breadcrumb.html class="breadcrumb-dots" %}
C
codecalm 已提交
25 26
{% endcapture %}
{% include example.html code=code %}
C
codecalm 已提交
27

C
codecalm 已提交
28
{% capture code %}
C
chomik 已提交
29
{% include ui/breadcrumb.html class="breadcrumb-arrows" %}
C
codecalm 已提交
30 31
{% endcapture %}
{% include example.html code=code %}
C
codecalm 已提交
32

C
codecalm 已提交
33
{% capture code %}
C
codecalm 已提交
34
{% include ui/breadcrumb.html class="breadcrumb-bullets" %}
C
codecalm 已提交
35 36
{% endcapture %}
{% include example.html code=code %}
C
codecalm 已提交
37 38 39

### Alternate version

C
codecalm 已提交
40
{% capture code %}
C
codecalm 已提交
41
{% include ui/breadcrumb.html class="breadcrumb-alternate" %}
C
codecalm 已提交
42 43
{% endcapture %}
{% include example.html code=code %}