GetcharZp

通过 position:fixed 实现底部导航

 

HTML

<div id="footer">页脚</div>

 

CSS

#footer {
    clear: both;
    height: 35px;
    width: 100%;
    background-color: gray;
    position: fixed;
    bottom: 0;
    z-index:999;
}

 

分类:

技术点:

相关文章:

  • 2021-12-19
  • 2021-05-27
  • 2022-12-23
  • 2021-09-11
  • 2021-09-11
  • 2021-09-11
猜你喜欢
  • 2022-12-23
  • 2021-12-25
  • 2021-09-11
  • 2021-09-11
  • 2021-10-05
  • 2021-04-05
相关资源
相似解决方案