Today I went to a foreigner website and saw that his website was very smooth but had no js. I was curious, so it turns out. . It's clever. Share it. It saves resources relatively speaking. But the effect is good, easy to use, and takes into account w3c. Haha
ie-stuff.css
#footer {
position: absolute;
bottom: auto;
clear: both;
top:expression(eval( document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop
(documentElement.clientHeight-this.clientHeight) - 1
: document.body.scrollTop
( document.body.clientHeight-this.clientHeight) - 1);
}