javascript - The element automatically moved upward. The description is not clear. Please look at the picture.
黄舟
黄舟 2017-05-16 13:38:37
0
1
470



This is the pullpage plug-in used. After the first cycle of scrolling, the arrows have no problem. If you cycle once, the arrows will automatically Moved up

.footer{
    width:0.82rem;
    height: 0.6rem;
    position: fixed;
    bottom:1.5rem;
    left:3.2rem;
    animation:sec1-move 1s linear infinite;
}

@-webkit-keyframes sec1-move {
    from{
        bottom:1.5rem;
    }
    to{
        bottom:1.35rem;
    }
}
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
阿神

You first change the rem unit to px and the corresponding value, and then try again. If there is no problem, it means that the size of the rem reference object has changed.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template