一. @media 格式 @media all and (min-width:xxx) and (max-width:xxx) (亦可以写成@media all and (min-width:xxx) and (max-width:xxx)) {/*这段查询的all是针对所有设备(有些设备不一定是屏幕,也许是打字机,盲人阅读器)*/} @media only screen and (min-width:xxx) and (max-width:xxx){/*上面针对了所有设备,这段是只(only)…
按需调整断点 一.谷歌后摘抄的一部分媒体查询 /*#region SmartPhones */ /* SmartPhones */@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {}/* Landscape */@media only screen and (min-width : 321px) {}/* Portrait */@media only screen and (max-…
https://scotch.io/tutorials/understanding-the-bootstrap-3-grid-system With the 3rd version of the great Bootstrap out for about 4 and a half months now, people have had their time to play around with it, learn the changes, find new features, and buil…