Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经尝试了两天,但我仍然找不到解决方案,任何人都可以帮助我。
我想你的标题 HTML 是这样的:
让它粘在上面的 CSS 必须是:
.header { position: fixed; width: 100vw; top: 0px; left: 0px; }