What's wrong with my CSS , elements move and overlap when resizing window to smaller size?

前端 未结 2 1685
死守一世寂寞
死守一世寂寞 2021-01-07 13:17

Ok , so below is my CSS AND HTML code. I have been using percentage for the divs so that those divs can re-adjust to bigger screen sizes . The annoying thing is that when I

2条回答
  •  悲哀的现实
    2021-01-07 13:20

    its better you use media-queries here...

    @media all and (max-width: 60%) and (min-width: 30%) {
    
    ..........what ever you whant to do...................
    
    }
    

    for more info on media-queries vist css-media-queries

提交回复
热议问题