提交 c4307886 编写于 作者: C chomik

breadcrumb

上级 a0e91635
- page: alerts
- page: avatars
- page: badges
- page: breadcrumb
- page: buttons
- page: cards
- page: carousel
......
---
title: Breadcrumb
menu: docs.breadcrumb
---
## Default markup
{% example %}
{% include ui/breadcrumb.html %}
{% endexample %}
## Breadcrumb variations
{% example %}
{% include ui/breadcrumb.html class="breadcrumb-dots" %}
{% include ui/breadcrumb.html class="breadcrumb-arrows" %}
{% endexample %}
此差异已折叠。
---
title: Steps
menu: docs.steps
new: true
---
Steps are progress indicators of a sequence of task steps.
......
{% assign pages = include.pages | default: "Home,Library,Data" | split: "," %}
<ol class="breadcrumb{% if include.class %} {{ include.class }}{% endif %}">
{% for page in pages %}
{% if forloop.last %}
<li class="breadcrumb-item active" aria-current="page">{{ page }}</li>
{% else %}
<li class="breadcrumb-item"><a href="#">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ol>
.breadcrumb {
margin: 0;
padding: 0;
background: transparent;
}
.breadcrumb-dots {
.breadcrumb-item + .breadcrumb-item::before {
content: '·';
}
}
.breadcrumb-arrows {
.breadcrumb-item + .breadcrumb-item::before {
content: $icon-fe-chevron-right;
font-family: $font-icons;
vertical-align: bottom;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册