Skip to content

Instantly share code, notes, and snippets.

@abhijithvijayan
Created October 21, 2018 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhijithvijayan/2e40756b6824160b6e3efbfd685624ed to your computer and use it in GitHub Desktop.
Save abhijithvijayan/2e40756b6824160b6e3efbfd685624ed to your computer and use it in GitHub Desktop.
SASS Media Query Variables for Desktop, Tablet, Mobile.
/* Device = Most of the Smartphones Mobiles (Portrait) */
$screen-xxs-min: 320px;
$screen-xxs-max: 480px;
/* Device = Low Resolution Tablets, Mobiles (Landscape) */
$screen-xs-min: 481px;
$screen-xs-max: 767px;
/* Device = Tablets, Ipads (portrait) */
$screen-sm-min: 768px;
$screen-sm-max: 1024px;
/* Device = Laptops, Desktops */
$screen-md-min: 1025px;
$screen-md-max: 1280px;
/* Device = Desktops */
$screen-lg-min: 1281px;
$screen-lg-max: 1440px;
/* Higher Resolution Screens */
$screen-xlg-min: 1441px;
$screen-xlg-max: 2560px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment