Skip to content

Instantly share code, notes, and snippets.

@fahidjavid
Last active August 14, 2018 08:05
Show Gist options
  • Save fahidjavid/3566164294900ba7b3ca789b6bf01ecf to your computer and use it in GitHub Desktop.
Save fahidjavid/3566164294900ba7b3ca789b6bf01ecf to your computer and use it in GitHub Desktop.
Bootstrap Sass Media Query Variables
//== Media queries breakpoints
// Extra small screen / phone
$screen-xs: 480px;
$screen-xs-min: $screen-xs;
// Small screen / tablet
$screen-sm: 768px;
$screen-sm-min: $screen-sm;
// Medium screen / desktop
$screen-md: 992px;
$screen-md-min: $screen-md;
// Large screen / wide desktop
$screen-lg: 1200px;
$screen-lg-min: $screen-lg;
// So media queries don't overlap when required, provide a maximum
$screen-xs-max: ($screen-sm-min - 1); // 479px;
$screen-sm-max: ($screen-md-min - 1); // 991px;
$screen-md-max: ($screen-lg-min - 1); // 1199px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment