Bootstrap 5 Navbar崩溃滞后

发布于 2025-01-25 08:26:09 字数 261 浏览 2 评论 0原文

我需要引导纳维尔崩溃的帮助。当我单击“汉堡”菜单时,在完全展开之前,它不到第二个滞后。另外,如果您非常快地单击,就像对汉堡图标多次点击一样,X图标动画会延迟,并且X变成了封闭的图标,而不是汉堡图标,这很令人沮丧,因为我喜欢对我的NAV崩溃。请在下面查看我的链接以获取直播版本:

我的网站链接

I need help with bootstrap navbar collapse. When I click the burger menu, there is less than a second lag before it fully expands. Also, if you click very fast, like multiple clicks on the burger icon, the x icon animation gets delayed, and the x becomes the closed icon rather than the burger icons, which is frustrating because I like to have a bit of delay with my nav collapse. please check my link below for a live version :

My website link

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

痴情换悲伤 2025-02-01 08:26:09

因此,基本上,我将UL添加到nav-Collapse中,所以现在其.navbar-Collapse UL {高度:100VH; }因此,解决方案是将UL的高度设置为100VH,而不是整个Navbar-Collapse的高度。

So basically I added ul to the nav-collapse so now its .navbar-collapse ul { height: 100vh; } so the solution is to set the height of the ul to 100vh, not the height of the whole navbar-collapse.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文