Answers for "what is the difference between max-width and min-width @media"

CSS
1

what is a max and min width media query

/* What this query really means, is If [device width] is less than or equal to 600px, then do */
@media only screen and (max-width: 600px)  {...}

/* What this query really means, is If [device width] is greater than or equal to 600px, then do */
@media only screen and (min-width: 600px) {...}
Posted by: Guest on December-21-2020
0

media query min and max width

@media screen and (max-width: 992px) {
  body {
    background-color: blue;
  }
}
Posted by: Guest on May-24-2021

Code answers related to "what is the difference between max-width and min-width @media"

Browse Popular Code Answers by Language