【发布时间】:2018-05-12 12:06:37
【问题描述】:
有 bootstrap 3 个媒体断点
/*========== Mobile First Method ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}
/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
}
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
}
/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
}
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
}
/*========== Non-Mobile First Method ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
}
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
}
/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
}
/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
}
我只是不明白为什么在移动设备中首先最小宽度和非移动设备中的最大宽度被描述为相等。我的意思是,例如平板电脑的最小宽度 = 768px,所以它意味着所有宽度 > 768,平板电脑的最大宽度也为 768,但这意味着
【问题讨论】:
标签: css twitter-bootstrap-3 media-queries