Last active
August 29, 2015 14:02
-
-
Save erikakers/8a41bf2f3dd9dc835da9 to your computer and use it in GitHub Desktop.
Javascript: App Width Constants
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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