Created
June 4, 2013 10:51
-
-
Save JohannesMP/5705103 to your computer and use it in GitHub Desktop.
Pagination Styling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Pagination Styling | |
*/ | |
.wrapper { | |
background-color: #ccc; | |
height: 400px; | |
margin: 50px 20px; | |
} | |
ul { | |
text-align: center; | |
list-style: none; | |
padding: 0; | |
background-color: #abb; | |
display: block; | |
overflow: hidden; | |
} | |
li { display: inline; } | |
li a, li span { padding: 10px; display: inline-block; } | |
li a { background-color: #baa; } | |
.prev { float:left; } | |
.next { float:right; } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<ul> | |
<li><a class="prev" href="">Prev</a></li> | |
<li><a href="">1</a></li> | |
<li><a href="">2</a></li> | |
<li><span href="">...</span></li> | |
<li><a href="">9</a></li> | |
<li><a href="">10</a></li> | |
<li><a class="next" href="">Next</a></li> | |
</ul> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment