1@media only screen and (max-width: 1200px){
2 /*Tablets [601px -> 1200px]*/
3}
4@media only screen and (max-width: 600px){
5 /*Big smartphones [426px -> 600px]*/
6}
7@media only screen and (max-width: 425px){
8 /*Small smartphones [325px -> 425px]*/
9}
1/* Max-width */
2@media only screen and (max-width: 600px) {...}
3
4/* Min-width */
5@media only screen and (min-width: 600px) {...}
6
7/* Combining media query expressions */
8@media only screen and (max-width: 600px) and (min-width: 400px) {...}
1/* BOOSTRAP MEDIA BREAKPOINTS */
2/* Small devices (landscape phones, 576px and up) */
3@media (min-width: 576px) {
4 .selector {
5 background-color:#f00;
6 }
7}
8/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
9@media (min-width: 768px) {}
10/* Large devices (desktops, 992px and up) */
11@media (min-width: 992px) {}
12/* Extra large devices (large desktops, 1200px and up) */
13@media (min-width: 1200px) {}
1/* Sur les écrans, quand la largeur de la fenêtre fait au maximum 1280px */
2@media screen and (max-width: 1280px)
3
4/* Sur tous types d'écran, quand la largeur de la fenêtre est comprise entre 1024px et 1280px */
5@media all and (min-width: 1024px) and (max-width: 1280px)
6
7/* Sur les téléviseurs */
8@media tv
9
10/* Sur tous types d'écrans orientés verticalement */
11@media all and (orientation: portrait)
12
1/* When the width is between 600px and 900px OR above 1100px */
2@media screen and (min-width: 600px) and (max-width: 900px), (min-width: 1100px) {
3 div.example {...}
4}