简体   繁体   中英

CSS: error at “min-width”

There's an error at @media (min-width: 564px) and the next line:

如果您看到图片,则@media(最小宽度:564px)及其下一行会出现错误

I am new to this and CSS and I do not understand the error. Can anyone suggest what should be done?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM