Last active
June 1, 2018 21:41
-
-
Save martynchamberlin/0bb3c90f7e50338955f0 to your computer and use it in GitHub Desktop.
Bootstrap Cheat Sheet
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
/* | |
Here's a brief explanation of the breakpoints | |
lg: 1200+ | |
md: 992-1199 | |
sm: 768-991 | |
xs: 767- | |
*/ | |
/* this is targeting desktop and larger, .lg */ | |
@media all and (min-width: 1200px) { | |
} | |
/* this is targeting laptop and smaller, .md */ | |
@media all and (max-width: 1199px) { | |
} | |
/* this is targeting tablet and smaller, .sm */ | |
@media all and (max-width: 991px) { | |
} | |
/* this is targeting smartphone and smaller, .xs */ | |
@media all and (max-width: 767px) { | |
} | |
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
@phoneMax: 767px; | |
@tabletMin: 768px; | |
@tabletMax: 991px; | |
@laptopMin: 992px; | |
@laptopMax: 1199px; | |
@desktopMin: 1200px; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment