Skip to content

Instantly share code, notes, and snippets.

@mhairston
Created June 29, 2013 01:19
Show Gist options
  • Save mhairston/5889231 to your computer and use it in GitHub Desktop.
Save mhairston/5889231 to your computer and use it in GitHub Desktop.
"remainder" column class for Bootstrap fluid grids
/*
absorb:
Apply to last grid span to absorb all remaining horizontal space.
borrowed from OOCSS: https://github.com/stubbornella/oocss
Somewhat experimental in this context.
*/
.row-fluid [class*="span"].absorb {
margin: 0;
display: table-cell;
width: 10000px!important; /* yeah, I went there */
vertical-align: top;
float: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment