Answers for "css media query screen witdth and height"

CSS
66

media queries screen width

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}
Posted by: Guest on December-06-2019
2

how to set media query for both width and height in css

@media (min-height: 768px) and (max-height: 768px) and (min-width: 1366px) and (max-width: 1366px) { ... }
Posted by: Guest on July-11-2021

Browse Popular Code Answers by Language