Skip to content

Instantly share code, notes, and snippets.

@jasonleewilson
Created August 15, 2022 16:47
Show Gist options
  • Save jasonleewilson/d26faba0734aeddba50c8d4fcf227cb0 to your computer and use it in GitHub Desktop.
Save jasonleewilson/d26faba0734aeddba50c8d4fcf227cb0 to your computer and use it in GitHub Desktop.
/*
####################################################
M E D I A Q U E R I E S
####################################################
*/
/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Bootstrap 5 breakpoints
*/
/*
Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap because it is "mobile first"
*/
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@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) {
}
/* Extra extra large devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {
}
/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Custom media queries
*/
/* Set width to make card deck cards 100% width */
@media (max-width: 950px) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment