Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 944 Bytes

README.md

File metadata and controls

55 lines (40 loc) · 944 Bytes

simplify pagination

Install

install @buuug7/simplify-pagination package via npm, and then import from @buuug7/simplify-pagination/index.css file.

npm install @buuug7/simplify-pagination

Demo examples

Usage

Default

<div class="pagination">
  <a class="item" href="#">Previous</a>
  <a class="item" href="#">1</a>
  <a class="item active" href="#">2</a>
  <a class="item" href="#">3</a>
  <a class="item" href="#">Next</a>
</div>

Disabled

<div class="pagination">
  <a class="item" href="#">Previous</a>
  <a class="item" href="#">1</a>
  <a class="item disabled" href="#">2</a>
  <a class="item" href="#">3</a>
  <a class="item" href="#">Next</a>
</div>

Small

<div class="pagination sm">...</div>

Center

<div class="pagination center">...</div>

Right

<div class="pagination right">...</div>