Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If Bootstrap ported to SCSS ( https://github.com/twbs/bootstrap-sass) doesn't work then try gridle.org - very flexible system for any SCSS grids (including 12 columns)
In this template , I use my SCSS grid.
There is a demo to see the grid itself.
The grid itself here
I made mine to fit my needs. 12 columns, but not in floats like in bootstrap, but inline blocks.
.grid {
position: relative;
min-height: 1px;
display: inline-block;
vertical-align: top;
margin-right: -4px;
}
@for $i from 1 through 12 {
.grid-#{$i} {
@extend .grid;
width: 1 / 12 * $i * 100%;
}
}
@media screen and (max-width: XXXpx) {
@for $i from 1 through 12 {
.grid-#{$i}_XXX{
width: 1 / 12 * $i * 100%;
}
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question