Skip to content

Instantly share code, notes, and snippets.

@ash-r1
Created June 22, 2022 03:47
Show Gist options
  • Save ash-r1/4940209d04697afc02a9d91d9cc3e683 to your computer and use it in GitHub Desktop.
Save ash-r1/4940209d04697afc02a9d91d9cc3e683 to your computer and use it in GitHub Desktop.
// bootstrap w-sm-50 ish
// bootstrap/scss/utilities/_sizing.scss を参考に作成
@each $name, $width in $grid-breakpoints {
@include media-breakpoint-up(md) {
@each $size, $length in $sizes {
.w-#{$name}-#{$size} { width: $length !important; }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment