Answers for "how to set max and min screen size in media query statement"

CSS
42

media query min and max

/* Max-width */
@media only screen and (max-width: 600px)  {...}

/* Min-width */
@media only screen and (min-width: 600px)  {...}

/* Combining media query expressions */
@media only screen and (max-width: 600px) and (min-width: 400px)  {...}
Posted by: Guest on December-06-2019

Code answers related to "how to set max and min screen size in media query statement"

Browse Popular Code Answers by Language