首先了解max-width和min-width的原理
box1
box1宽度小于max-width
box2
box2宽度大于max-width
box3
box3宽度小于min-width
box4
box4宽度大于min-width
其次了解 @media only screen and ( min-width: 980px ) 和 @media only screen and ( max-width: 980px ) 的原理
-