我坚持将div隐藏在两个屏幕尺寸之间。就像我想使用以下媒体查询在550px-910px的屏幕尺寸之间隐藏div。
@media only screen and (min-width: 550px) - (max-width: 900px)
{
.bsp_big-image{
display: none !important;
}
}
使用以下语法来做到这一点:
@media (min-width: 550px) and (max-width: 900px)
{
.bsp_big-image{
display: none !important;
}
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句