在大屏幕中以响应模式隐藏元素

时间:2017-01-07 11:06:10

标签: html css twitter-bootstrap show-hide responsive

本页

here

在360×640的响应视图中 我不希望侧边栏出现或者可能出现在上面的菜单中的单击按钮中,因为它正在推动原始内容 看到 enter image description here

我试过了

    visibility:hidden;

对于此屏幕分辨率,但只是文本消失,框仍然在那里 看到 enter image description here

非常感谢任何帮助! 感谢

1 个答案:

答案 0 :(得分:0)

@media screen and (max-width: 600px) { .sidebar{ display:none; }}

根据你的页面

@media screen and (max-width: 600px) { .product-listy { display:none; }}