show/hide div based on browser size using ONLY css?

前端 未结 2 376
我在风中等你
我在风中等你 2020-12-13 14:49

I am a trying to get some divs to show/hide based on browser size, using only css media queries... but nothing seems to be working... please help if you can and let me know

2条回答
  •  孤城傲影
    2020-12-13 15:33

    class name can't be a number, and cannot start with a number in CSS. Here is an example where I changed the class name and it's working good

    http://jsfiddle.net/RtTsy/

提交回复
热议问题