📜  css hide div on mobile - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:49.103000             🧑  作者: Mango

代码示例1
/*I have set the width to 900 you can change it if you want*/

@media(max-width:900px) {
  div{
    visibility: hidden;
  }
}