Horje
media queries w3schools Code Example
media queries w3schools
@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}
css media query
/* BOOSTRAP MEDIA BREAKPOINTS */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {  
  .selector {
  	background-color:#f00;
  }
}
/* 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) {}
media query in css
 /*Any Mobile Device*/
@media only screen and (max-width: 767px) { }
 /*Tablets Device*/
@media only screen and (max-width: 991px) { }
 /*ipad Pro  Device*/
@media only screen and (max-width: 1024px) { }
 /*large  Device*/
@media only screen and (max-width: 1200px) { }
media query in css
@media screen and (min-width: 374px){
   section#rent_sectionn {
    padding: 0 20px !important;
}
 }
@media query css
@media screen and (min-width: 320px) and (max-width: 786px) {
	// custom CSS
}
Source: torquemag.io
media query css

media screen and (min-width: 1300px) {
media screen and (min-width: 400px) and (max-width: 700px) {




12

Related
@media for mobile Code Example @media for mobile Code Example
media query for mobile view css Code Example media query for mobile view css Code Example
background image size css Code Example background image size css Code Example
phone media query css Code Example phone media query css Code Example
media queries screen width Code Example media queries screen width Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
17