Active State
Active state shows what is the current page really:
Add class
.active
to let the user know which page he/she is on:
Example
<ul class="pagination">
<li><a href="#">1</a></li>
<li class="active"><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#">6</a></li>
<li><a href="#">7</a></li>
</ul>
Disabled State
A Bootstrap disabled link cannot be clicked:
Add class
.disabled
if a link for some reason is disabled:
Example
<ul class="pagination">
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li class="disabled"><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#">6
</a></li>
<li><a href="#">7</a></li>
</ul>
No comments:
Post a Comment