_display.scss 519 B

1234567891011121314151617181920212223242526
  1. // stylelint-disable declaration-no-important
  2. //
  3. // Utilities for common `display` values
  4. //
  5. @each $breakpoint in map-keys($grid-breakpoints) {
  6. @include media-breakpoint-up($breakpoint) {
  7. $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
  8. @each $value in $displays {
  9. .d#{$infix}-#{$value} { display: $value !important; }
  10. }
  11. }
  12. }
  13. //
  14. // Utilities for toggling `display` in print
  15. //
  16. @media print {
  17. @each $value in $displays {
  18. .d-print-#{$value} { display: $value !important; }
  19. }
  20. }