Created by: bassjobsen
…classes
see: https://github.com/twbs/bootstrap/issues/17586
Notice that all code can also wrapped in a single @if $enable-grid-classes {}
now.
Code can also be wrapped inside a mixin grid-classes()
with the following code in bootstrap.scss:
@import "grid";
@if $enable-grid-classes {
@include grid-classes;
}
And finally notice that the @import "grid";
is not needed at all when you do not need the precompiled grid classes. Removing the import from bootstrap.scss
is as simple as setting $enable-grid-classes
to false
.