Skip to content

Instantly share code, notes, and snippets.

@erikakers
Last active August 29, 2015 14:02
Show Gist options
  • Save erikakers/8a41bf2f3dd9dc835da9 to your computer and use it in GitHub Desktop.
Save erikakers/8a41bf2f3dd9dc835da9 to your computer and use it in GitHub Desktop.
Javascript: App Width Constants
App.Constants.DESKTOP = 990,
App.Constants.TABLETLG = 980,
App.Constants.TABLETSM = 768,
App.Constants.MOBILE = 767;
App.Constants.MOBILEMQ = 'only screen and (max-width: ' + App.Constants.MOBILE + 'px)',
App.Constants.TABLETMQ = 'only screen and (max-width: ' + App.Constants.TABLETLG + 'px)',
App.Constants.DESKTOPMQ = 'only screen and (min-width: ' + App.Constants.DESKTOP + 'px) and (max-width: 1199px)';
App.Constants.DESKTOPLGMQ = 'only screen and (min-width: 1200px)';
App.Constants.containerWidths = {
lgDesktop: 1200,
smDesktop: 940,
tablet: 768
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment