Displaying an element outside overflow hidden container

后端 未结 8 1176
你的背包
你的背包 2020-12-31 06:14

I have a

which is made scrollable by wrapping it in a
of fixed height.

This

has a drop
8条回答
  •  悲哀的现实
    2020-12-31 07:07

    As long as the drop down is a child of .main it isn't possible with CSS alone. That's because your .main has overflow-y: scroll; You can't have your cake and eat it too.

提交回复
热议问题