Skip to content

Instantly share code, notes, and snippets.

@anthonybruno
Created April 11, 2013 13:54
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 anthonybruno/5363565 to your computer and use it in GitHub Desktop.
Save anthonybruno/5363565 to your computer and use it in GitHub Desktop.
Fluid thumbnail rows for Bootstrap
.row-fluid ul.thumbnails li.span12 + li { margin-left : 0px;clear:left }
.row-fluid ul.thumbnails li.span6:nth-child(2n + 3) { margin-left : 0px;clear:left }
.row-fluid ul.thumbnails li.span4:nth-child(3n + 4) { margin-left : 0px;clear:left }
.row-fluid ul.thumbnails li.span3:nth-child(4n + 5) { margin-left : 0px; clear:left}
.row-fluid ul.thumbnails li.span2:nth-child(6n + 7) { margin-left : 0px;clear:left }
.row-fluid ul.thumbnails li.span1:nth-child(12n + 13) { margin-left : 0px;clear:left }
@anthonybruno
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment