最佳答案
尝试使用100vh 高度和背景尺寸:cover;它将覆盖整页这将起作用
关于javascript - 高度为 100% 的主体,背景图像为 : cover to fill enire page not just a viewport - without js if possible,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43154649/
标签 javascript jquery html css
最佳答案
尝试使用100vh 高度和背景尺寸:cover;它将覆盖整页这将起作用
关于javascript - 高度为 100% 的主体,背景图像为 : cover to fill enire page not just a viewport - without js if possible,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43154649/
相关文章:
html - 仅使用 CSS 切换 Accordion 字形图标
javascript - JavaScript 是否有像 "range()"这样的方法来生成提供的范围内的范围?
javascript - getJSON 只响应明文,否则不起作用?
jquery - 如何使用 Devise 和 activerecord-reputation-system 获取 current_user 进行 Ajax 投票
javascript - 在 Canvas 上拖放 HTML5
javascript - Karma/Jasmine/Angular-Mocks "not a function got string"