While designing a page for mobile first view, which of the following media queries can be used? code example
Example: media query for mobile view css
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}