Can I hide the element if it doesn't fit the available width using css only?

后端 未结 4 1959
盖世英雄少女心
盖世英雄少女心 2020-12-17 10:14

I have a header and an image that should be horizontally laid out on the absolutely positioned div. I\'m showing the text in the subdiv with the fixed width. I\'m trying to

4条回答
  •  青春惊慌失措
    2020-12-17 10:43

    What you will need to do is basically call a css file when the screen size is too small or too large in order to hide/show things that won't fit into the screen.

    
    

提交回复
热议问题