contact@superweb.com615.987.1234

Standard pagination

Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.

  1. <div class="pagination">
  2. <ul>
  3. <li><a href="#">Prev</a></li>
  4. <li><a href="#">1</a></li>
  5. <li><a href="#">2</a></li>
  6. <li><a href="#">3</a></li>
  7. <li><a href="#">4</a></li>
  8. <li><a href="#">Next</a></li>
  9. </ul>
  10. </div>

Options

Disabled and active states

Links are customizable for different circumstances. Use .disabled for unclickable links and .active to indicate the current page.

  1. <div class="pagination">
  2. <ul>
  3. <li class="disabled"><a href="#">Prev</a></li>
  4. <li class="active"><a href="#">1</a></li>
  5. ...
  6. </ul>
  7. </div>

You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.

  1. <div class="pagination">
  2. <ul>
  3. <li class="disabled"><span>Prev</span></li>
  4. <li class="active"><span>1</span></li>
  5. ...
  6. </ul>
  7. </div>

Sizes

Fancy larger or smaller pagination? Add .pagination-large, .pagination-small, or .pagination-mini for additional sizes.

  1. <div class="pagination pagination-large">
  2. <ul>
  3. ...
  4. </ul>
  5. </div>
  6. <div class="pagination">
  7. <ul>
  8. ...
  9. </ul>
  10. </div>
  11. <div class="pagination pagination-small">
  12. <ul>
  13. ...
  14. </ul>
  15. </div>
  16. <div class="pagination pagination-mini">
  17. <ul>
  18. ...
  19. </ul>
  20. </div>

Alignment

Add one of two optional classes to change the alignment of pagination links: .pagination-centered and .pagination-right.

  1. <div class="pagination pagination-centered">
  2. ...
  3. </div>
  1. <div class="pagination pagination-right">
  2. ...
  3. </div>

Pager

Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.

Default example

By default, the pager centers links.

  1. <ul class="pager">
  2. <li><a href="#">Previous</a></li>
  3. <li><a href="#">Next</a></li>
  4. </ul>

Aligned links

Alternatively, you can align each link to the sides:

  1. <ul class="pager">
  2. <li class="previous">
  3. <a href="#">&larr; Older</a>
  4. </li>
  5. <li class="next">
  6. <a href="#">Newer &rarr;</a>
  7. </li>
  8. </ul>

Optional disabled state

Pager links also use the general .disabled utility class from the pagination.

  1. <ul class="pager">
  2. <li class="previous disabled">
  3. <a href="#">&larr; Older</a>
  4. </li>
  5. ...
  6. </ul>