mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
fix blog example to use customized pagination based on button styles
This commit is contained in:
parent
e482fe24e1
commit
20261385ea
@ -125,14 +125,10 @@ h6, .h6 {
|
||||
|
||||
|
||||
/* Pagination */
|
||||
.pager {
|
||||
.blog-pagination {
|
||||
margin-bottom: 4rem;
|
||||
text-align: left;
|
||||
}
|
||||
.pager > li > a {
|
||||
width: 8rem;
|
||||
padding: .75rem 1.25rem;
|
||||
text-align: center;
|
||||
.blog-pagination > .btn {
|
||||
border-radius: 2rem;
|
||||
}
|
||||
|
||||
|
@ -104,11 +104,9 @@
|
||||
<p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
|
||||
</div><!-- /.blog-post -->
|
||||
|
||||
<nav>
|
||||
<ul class="pager">
|
||||
<li><a href="#">Older</a></li>
|
||||
<li class="disabled"><a href="#">Newer</a></li>
|
||||
</ul>
|
||||
<nav class="blog-pagination">
|
||||
<a class="btn btn-outline-primary" href="#">Older</a>
|
||||
<a class="btn btn-outline-secondary disabled" href="#">Newer</a>
|
||||
</nav>
|
||||
|
||||
</div><!-- /.blog-main -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user