media query for 320px — 480px: Mobile devices 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;
}
}