Why z-index is not working for div?

后端 未结 4 1880
我在风中等你
我在风中等你 2021-02-05 08:01

I am trying to get my footer to show on top of the footer background, but z-index seems not to be working. Does anyone see what is wrong with it? http://jsfiddle.net/f2ySC/

4条回答
  •  死守一世寂寞
    2021-02-05 08:35

    Is this the effect you are looking for? Updated example

    I added position: relative; to #footerBack and .footerBox to enable z-index

提交回复
热议问题