gpt4 book ai didi

CSS:当我将 Overflow:hidden 排除在外时,为什么会出现这种情况?

转载 作者:太空宇宙 更新时间:2023-11-04 05:19:20 25 4
gpt4 key购买 nike

所以在导航类中,当我有 overflow:hidden 时,有中心并且效果很好,但我不能使用 overflow:hidden 因为它会隐藏我在导航中的下拉菜单。

但是当我把它拿出来的时候,它坏了?除了 overflow:hidden 之外,我还能使用什么来保持它的正确外观,并且不隐藏我的导航?

http://jsfiddle.net/xtian/svr8C/1/

最佳答案

只需设置 .nav 的高度(35px?)并移除 overflow: hidden;

关于CSS:当我将 Overflow:hidden 排除在外时,为什么会出现这种情况?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7043393/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com