Link in sticky footer not clickable in Firefox and Chrome

前端 未结 3 1089
轮回少年
轮回少年 2021-01-18 10:50

I am using a sticky footer like described in:

  • How do you get the footer to stay at the bottom of a Web page?
  • http://ryanfait.com/resources/footer-stic
3条回答
  •  不思量自难忘°
    2021-01-18 11:16

    Solved it, adding a postion:relative and z-indexes did it:

    .push, .footer {
        height: 90px;
        position: relative;
    }
    .push {
        z-index: 9000;
        position: relative;
    }
    .footer {
        background: #181f18 url(../images/background-top.png) no-repeat center bottom;
        z-index: 9999;
        position: relative;
    }
    

提交回复
热议问题