CSS ignore overflow: hidden

后端 未结 6 476
轻奢々
轻奢々 2020-12-30 00:09

I\'m working on the navigation for this website and am having trouble with the dropdown nav.

Basically, I have overflow: hidden applied

6条回答
  •  生来不讨喜
    2020-12-30 00:48

    Setting the element's position:fixed will remove the element and its children from the normal document flow allowing it to be unclipped. But you'll have to manually reposition it relative to the browser window. Not a great solution but it is a work-around.

提交回复
热议问题