css on mobile only code example
Example 1: media query
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
Example 2: bootstrap not responsive on mobile
<meta content='maximum-scale=1.0, initial-scale=1.0, width=device-width' name='viewport'>