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@media screen and (min-width: 769px) {
2 /* STYLES HERE */
3}
4
5@media screen and (min-device-width: 481px) and (max-device-width: 768px) {
6 /* STYLES HERE */
7}
8
9@media only screen and (max-device-width: 480px) {
10 /* STYLES HERE */
11}
12
1@media only screen and (max-width: 600px) {
2 body {
3 background-color: lightblue;
4 }
5}
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@media screen and (min-width: 200px) and (max-width: 640px) {
2 .bloc {
3 display:block;
4 clear:both;
5 }
6}