Skip to content

Instantly share code, notes, and snippets.

@ezersky
Created September 16, 2015 20:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ezersky/1484d936fd714f83074c to your computer and use it in GitHub Desktop.
Save ezersky/1484d936fd714f83074c to your computer and use it in GitHub Desktop.
Columns dividers for Bootstrap 3xx
//Original source from http://bootsnipp.com/snippets/lWXD6
@media ( min-width: 768px ) {
.grid-divider {
position: relative;
padding: 0;
> [class*='col-'] {
position: static;
}
> [class*='col-']:nth-child(n+2):before {
content: "";
border-left: 1px solid #DDD;
position: absolute;
top: 0;
bottom: 0;
}
}
.col-padding {
padding: 0 15px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment