我正在试图制作一种从上面其他div元素后面出现的页脚。背景上的固定元素
An example is the Pitchfork website with the footer on the bottom.
我试图做到这一点在CSS:
#footer {
overflow: hidden;
}
#footer .text {
position: fixed;
}
或者,我可以把它固定,通过设置网站的总高度将它移动到页面的底部。但这只是复杂的。
任何想法或简单的教程如何做到这一点?