admin管理员组文章数量:1200755
I've created an sticky navbar:
<div class="navbar bg-base-100 sticky top-0">
My content section under navbar code is:
<div
class="hero min-h-screen"
style="background-image: url(.webp);">
...
</div>
My nav is sticked correctly, but my hero section (since is min-h-screen) is showing an scroll. I mean, I need that my hero section height fits on (h-screen - navbar height).
I mean, I'd like to remobe scroll effect.
Any ideas?
本文标签: tailwind cssHow remove scrolling on sticky navbar with hero sectionStack Overflow
版权声明:本文标题:tailwind css - How remove scrolling on sticky navbar with hero section? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738615196a2102866.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论