I am looking for a solution to create a CSS effect or Javascript code that will hide a menu inside a div when the browser window or parent div is resized. I want to display another div with the same menu in horizontal orientation when the first one is hidden.
<div id="show-on-100px-resize">[menu item1 item2 item 3 item4]</div>
<div id="show-on-over-100px">>
menu
item1
item2
item3
</div>
Hopefully, this explanation is clear enough. Thank you for your responses!