css hide div on mobile

Solutions on MaxInterview for css hide div on mobile by the best coders in the world

showing results for - "css hide div on mobile"
Max
04 Sep 2020
1/*I have set the width to 900 you can change it if you want*/
2
3@media(max-width:900px) {
4  div{
5    visibility: hidden;
6  }
7}