Skip to content

Instantly share code, notes, and snippets.

@pushandplay
Last active August 29, 2015 14:17
Show Gist options
  • Save pushandplay/f0b5f4220e1994b3ac99 to your computer and use it in GitHub Desktop.
Save pushandplay/f0b5f4220e1994b3ac99 to your computer and use it in GitHub Desktop.
// 5 columns layout for bootstrap
.col-xs-2_4,
.col-sm-2_4,
.col-md-2_4,
.col-lg-2_4
position: relative
min-height: 1px
padding-right: 10px
padding-left: 10px
.col-xs-2_4
width: 20%
float: left
@media (min-width: $screen-sm)
.col-sm-2_4
width: 20%
float: left
@media (min-width: $screen-md)
.col-md-2_4
width: 20%
float: left
@media (min-width: $screen-lg)
.col-lg-2_4
width: 20%
float: left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment