Blinking fixed header in site with scrolling animation

后端 未结 6 575
面向向阳花
面向向阳花 2020-12-16 23:24

So I\'m putting a website together which will have a few css3 animations triggered on the scroll event. About halfway through writing the scrolling animations, I\'m noticing

6条回答
  •  情歌与酒
    2020-12-17 00:10

    **Blinking Fixed Header issue I am facing only in Firebox. Animation property not supported by Firebox?**
    
    *In below code i am applying tranform property to all column who has freeze_vertical class*
    
    
      var fixed_vertical_elts = document.getElementsByClassName(table_class + " freeze_vertical");
    
    for (i = 0; i < fixed_vertical_elts.length; i++) {
       fixed_vertical_elts[i].style.webkitTransform = translate_y;
       fixed_vertical_elts[i].style.transform = translate_y;
       fixed_vertical_elts[i].style.background = "#fff";
    }
    
    
    
    *but one thing I observed once you open a debug mode, from that moment to until reload,fixed header not blink.*
    
    
    Thanks in adavance
    

提交回复
热议问题