CSS обнаруживает мобильный
@media only screen and (max-width: 600px) {
}
Code Cat
@media only screen and (max-width: 600px) {
}
@media only screen and (max-device-width: 480px){
/* in mobile css commands */
}