@media screen and (max-width: 768px)and (min-width: 640px) { .test { width: 100px; }}@media screen and (max-width: 1024px)and (min-width: 768px) { .test { width: 200px; }}
这些都是基础用法了