how to use the @ media to optimize for smartphones in css 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;
}
}