bulma/docs/cyp/components/pagination.html
2021-11-07 17:50:46 +00:00

71 lines
2.0 KiB
HTML

---
layout: cypress
title: Components/Pagination
---
{% capture content %}
<a class="pagination-previous">Previous</a>
<a class="pagination-next">Next page</a>
<ul class="pagination-list">
<li><a class="pagination-link" aria-label="Goto page 1">1</a></li>
<li><span class="pagination-ellipsis">&hellip;</span></li>
<li><a class="pagination-link" aria-label="Goto page 45">45</a></li>
<li><a class="pagination-link is-current" aria-label="Page 46" aria-current="page">46</a></li>
<li><a class="pagination-link" aria-label="Goto page 47">47</a></li>
<li><span class="pagination-ellipsis">&hellip;</span></li>
<li><a class="pagination-link" aria-label="Goto page 86">86</a></li>
</ul>
{% endcapture %}
<nav id="pagination" class="pagination">
<a class="pagination-previous is-disabled" title="This is the first page">Previous</a>
<a class="pagination-next">Next page</a>
<ul class="pagination-list">
<li>
<a class="pagination-link" aria-label="Goto page 1">1</a>
</li>
<li>
<span class="pagination-ellipsis">&hellip;</span>
</li>
<li>
<a class="pagination-link" aria-label="Goto page 45">45</a>
</li>
<li>
<a class="pagination-link is-current" aria-label="Page 46" aria-current="page">46</a>
</li>
<li>
<a class="pagination-link" aria-label="Goto page 47">47</a>
</li>
<li>
<span class="pagination-ellipsis">&hellip;</span>
</li>
<li>
<a class="pagination-link" aria-label="Goto page 86">86</a>
</li>
</ul>
</nav>
<nav id="pagination-centered" class="pagination is-centered">
{{ content }}
</nav>
<nav id="pagination-right" class="pagination is-right">
{{ content }}
</nav>
<nav id="pagination-rounded" class="pagination is-rounded">
{{ content }}
</nav>
<nav id="pagination-small" class="pagination is-small">
{{ content }}
</nav>
<nav id="pagination-medium" class="pagination is-medium">
{{ content }}
</nav>
<nav id="pagination-large" class="pagination is-large">
{{ content }}
</nav>