Answers for "@media for mobile css"

CSS
51

media query

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

media query

@media only screen and (max-width: 600px) {
  .class {
    // Your CSS
  }
}
Posted by: Guest on February-20-2020

Browse Popular Code Answers by Language