@media (min- 768px){ }/*屏幕最小为768px时调用括号里的属性*/ @media (max- 767px) {} /*屏幕最大为768px时调用括号里的属性*/ @media (min- 768px) and (max- 991px) {} /*屏幕的大小在 768和991之间时调用括号里的属性
要记得,css下面的class会覆盖上面的属性,好好利用就能实现很多东西。