-
-
Save zeiv/8caa28668d0211872796264f93585209 to your computer and use it in GitHub Desktop.
Seven Equal Columns in bootstrap.
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
@media (min-width: 768px) { | |
.seven-cols .col-md-1, | |
.seven-cols .col-sm-1, | |
.seven-cols .col-lg-1 { | |
width: 100%; | |
} | |
} | |
@media (min-width: 992px) { | |
.seven-cols .col-md-1, | |
.seven-cols .col-sm-1, | |
.seven-cols .col-lg-1 { | |
width: 14.285714285714285714285714285714%; | |
} | |
} | |
@media (min-width: 1200px) { | |
.seven-cols .col-md-1, | |
.seven-cols .col-sm-1, | |
.seven-cols .col-lg-1 { | |
width: 14.285714285714285714285714285714%; | |
} | |
} |
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
<div class="container"> | |
<div class="row seven-cols"> | |
<div class="col-md-1">Col 1</div> | |
<div class="col-md-1">Col 2</div> | |
<div class="col-md-1">Col 3</div> | |
<div class="col-md-1">Col 4</div> | |
<div class="col-md-1">Col 5</div> | |
<div class="col-md-1">Col 6</div> | |
<div class="col-md-1">Col 7</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment