Can you please use this code i think this code will help you.
@media only screen and (max-width:767px){ here your code ..... }/*mobile device */
@media only screen and (min-width:320px) and (max-width:767px){ here your code ..... }/*mobile device */
@media only screen and (min-width:768px) and (max-width:1024px){ here your code ..... }/*ipad device */
它应该像@media screen and (min-width: 564px)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.