Created
September 16, 2015 20:11
-
-
Save ezersky/1484d936fd714f83074c to your computer and use it in GitHub Desktop.
Columns dividers for Bootstrap 3xx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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