Skip to content

Instantly share code, notes, and snippets.

@gsantiago
Created November 25, 2015 16:36
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 gsantiago/e3bf2e4e4c108173f3d9 to your computer and use it in GitHub Desktop.
Save gsantiago/e3bf2e4e4c108173f3d9 to your computer and use it in GitHub Desktop.
Five Columns for Bootstrap Grid
/* Five Columns Bootstrap */
/* http://www.wearesicc.com/quick-tips-5-column-layout-with-twitter-bootstrap/ */
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
position: relative;
min-height: 1px;
padding-right: 10px;
padding-left: 10px;
}
.col-xs-15 {
width: 20%;
float: left;
}
@media (min-width: 768px) {
.col-sm-15 {
width: 20%;
float: left;
}
}
@media (min-width: 992px) {
.col-md-15 {
width: 20%;
float: left;
}
}
@media (min-width: 1200px) {
.col-lg-15 {
width: 20%;
float: left;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment