作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
这个问题完全是菜鸟问题,但我无法区分普通页脚和粘性页脚。
最佳答案
取自CSS tricks :
The purpose of a sticky footer is that it "sticks" to the bottom of the browser window. But not always, if there is enough content on the page to push the footer lower, it still does that. But if the content on the page is short, a sticky footer will still hang to the bottom of the browser window.
以下是粘性页脚的清晰概念:https://css-tricks.com/couple-takes-sticky-footer/和 http://css-tricks.com/sticky-footer/
还有一个例子:https://getbootstrap.com/docs/4.0/examples/sticky-footer/
关于html - 什么是粘性页脚?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4520505/
我是一名优秀的程序员,十分优秀!