易于使用,只需使用position: absolute;
和设置bottom: 0;
footer {
position:absolute;
width:100%;
background-color: #dddddd;
bottom:0;
}
<footer>
<p id="footername">Example Text</p>
<p>Example Text</p>
<p>Example Text</p>
</footer>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句