Skip to content

Instantly share code, notes, and snippets.

@DeepInThought
Forked from syntaqx/box-sizing.css
Created May 30, 2019 09:44
Show Gist options
  • Save DeepInThought/01ae3873b12be23649781a2e8686ee90 to your computer and use it in GitHub Desktop.
Save DeepInThought/01ae3873b12be23649781a2e8686ee90 to your computer and use it in GitHub Desktop.
Useful Bootstrap Snippets
*,
::after,
::before {
box-sizing: border-box
}
.clearfix::after {
display: block;
clear: both;
content: ""
}
/*
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