w3 school making css code differtent for small screens code example
Example: media query
@media only screen and (max-width: 600px) {
.class {
// Your CSS
}
}
@media only screen and (max-width: 600px) {
.class {
// Your CSS
}
}