Last active
May 30, 2019 09:44
-
-
Save syntaqx/c363b48ae5485bd0effa39f3ee0f8748 to your computer and use it in GitHub Desktop.
Useful Bootstrap Snippets
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
*, | |
::after, | |
::before { | |
box-sizing: border-box | |
} |
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
.clearfix::after { | |
display: block; | |
clear: both; | |
content: "" | |
} |
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
/* | |
Extra small devices (portrait phones, less than 576px) | |
No media query for `xs` since this is the default in Bootstrap */ | |
/* Small devices (landscape phones, 576px and up) */ | |
@media (min-width: 576px) { ... } | |
/* Medium devices (tablets, 768px and up) */ | |
@media (min-width: 768px) { ... } | |
/* Large devices (desktops, 992px and up) */ | |
@media (min-width: 992px) { ... } | |
/* Extra large devices (large desktops, 1200px and up) */ | |
@media (min-width: 1200px) { ... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment