Answers for "mobile view css and desktop view 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

Code answers related to "mobile view css and desktop view css"

Browse Popular Code Answers by Language