/* responsive version for sizes, we don't generate xs because it is arleady generated by bootstrap */ | |
@each $breakpoint in map-keys($grid-breakpoints) { | |
@if $breakpoint != "xs" { | |
@include media-breakpoint-up($breakpoint) { | |
$infix: breakpoint-infix($breakpoint, $grid-breakpoints); | |
@each $prop, $abbrev in (width: w, height: h) { | |
@each $size, $length in $sizes { | |
.#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length !important; } | |
} | |
} | |
} | |
} | |
} |
This comment has been minimized.
This comment has been minimized.
Why? We dont override exiting styles and have them twice? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
As of Bootstrap 4.4.1 (maybe even lower versions)
@if $breakpoint != "xs" {
condition is not needed at all.