gpt4 book ai didi

css - 固定标题中断可见性

转载 作者:行者123 更新时间:2023-11-28 11:39:15 25 4
gpt4 key购买 nike

当我们放置固定位置的标题时,为什么可见性会被破坏?

参见 http://jsfiddle.net/YLx5S/

我刚刚放了

position: fixed; width: 100%;

在 div 上

如何更正并显示滚动条?导航部分隐藏。

最佳答案

添加溢出滚动:

nav{
width:500px;
white-space:nowrap;
overflow:scroll;
}

关于css - 固定标题中断可见性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20766463/

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