Answer the question
In order to leave comments, you need to log in
How to use bootstrap 4 grid in scss?
In the third bootstrap, I used constructions like
.class{
@include make-md-column(6);
@include make-sm-column(8);
}
@include make-col(10);
Answer the question
In order to leave comments, you need to log in
Through a media query.
.something {
@include make-col-ready();
@include make-col(12); // xs
@include media-breakpoint-up(sm) {
@include make-col(6); // sm
}
@include media-breakpoint-up(xl) {
@include make-col(3); // xl
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question