From b955c1a750ed09c709f1b054da148ed5fd638ed3 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 12 Apr 2016 15:55:20 +0800 Subject: add pagination example code --- index.html | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index fd8f845..e431890 100644 --- a/index.html +++ b/index.html @@ -1446,11 +1446,6 @@ 2 -
  • - - 3 - -
  • ...
  • @@ -1471,6 +1466,40 @@

    Add a container element with the class pagination. And add child elements with the classname page-item.

    + +
    +<ul class="pagination">
    +    <li class="page-item">
    +        <a href="#" class="disabled">
    +            Previous
    +        </a>
    +    </li>
    +    <li class="page-item active">
    +        <a href="#">
    +            1
    +        </a>
    +    </li>
    +    <li class="page-item">
    +        <a href="#">
    +            2
    +        </a>
    +    </li>
    +    <li class="page-item">
    +        <span>...</span>
    +    </li>
    +    <li class="page-item">
    +        <a href="#">
    +            12
    +        </a>
    +    </li>
    +    <li class="page-item">
    +        <a href="#">
    +            Next
    +        </a>
    +    </li>
    +</ul>
    +
    +
    -- cgit v1.3.1-26-gb76a