Fix div to bottom without using css position

后端 未结 2 2019
悲哀的现实
悲哀的现实 2021-02-10 02:01

I am having issues with position: fixed; on IOS8 Safari. I\'ve determined it\'s related to the footer div which I am positioning at the bottom of the page. I\'ve al

2条回答
  •  野性不改
    2021-02-10 02:42

    You should try position:sticky;. It's made to deal with position on Safari. fixed has been an issue with mobile devices for years. I thought it was fixed but iOs8 has weird behavior too...

    http://updates.html5rocks.com/2012/08/Stick-your-landings-position-sticky-lands-in-WebKit

提交回复
热议问题