Skip to content

Instantly share code, notes, and snippets.

@drewjoh
Created September 15, 2012 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewjoh/3729555 to your computer and use it in GitHub Desktop.
Save drewjoh/3729555 to your computer and use it in GitHub Desktop.
CSS to make Laravel 3.2's built in pagination links work with Bootstrap 2.1.
.pagination a, .current, .previous_page, .next_page
{
float: left;
padding: 0 14px;
line-height: 34px;
text-decoration: none;
border: 1px solid #ddd;
border-left-width: 0;
}
.pagination *:first-child {
border-left-width: 1px;
-webkit-border-radius: 3px 0 0 3px;
-moz-border-radius: 3px 0 0 3px;
border-radius: 3px 0 0 3px;
}
.pagination *:last-child {
-webkit-border-radius: 0 3px 3px 0;
-moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment