我想在移动设备中隐藏此侧边栏,我尝试过此编码,
.sidebar__area:last-child .widget:last-child, .sidebar__area.is_stuck .widget:last-child{
display:none;
}
完全隐藏了它。但是当我尝试这样做时,它不起作用,
@media screen and (min-device-width: 100px) and (max-device-width: 950px{
sidebar__area:last-child .widget:last-child, .sidebar__area.is_stuck .widget:last-child{
display:none;
}
尝试这个:
@media (min-width: 100px) and (max-width: 950px){
sidebar__area:last-child .widget:last-child, .sidebar__area.is_stuck .widget:last-child{
display:none;
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句