footer是HTML5的一个标签,无需div,你要加也可以。 html: Copyright (C) Home_Travlling -2060, All Rights Reserved TCPICP֤041189随便写,反正是测试 css: /* 页脚 */ footer {position: fixed;background-color: rgba(43, 166, 166, 0.5);color: #FFF;bottom: 0;left: 0;right: 0;text-align: center;height: 20px;line-height: 20px; }
100字范文,内容丰富有趣,生活中的好帮手!