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 页面中有一个容器,其中有一个 javascript 幻灯片和下面的一些文本。即使图片大小不同,是否有任何属性可以将按钮和文本保持在同一位置?提前致谢。
在你的 CSS 中使用poistion:fixed;你想要修复的元素
poistion:fixed;