cachaito
3/11/2014 - 5:35 PM

Turn off repainting on fixed element

Aby wyłączyć repaint na elemencie z position: fixed trzeba dodać: backface-visibility: hidden; Hint: niedługo pojawi się CSS property calledwill-change. This property will let authors hint to the UA that the element needs special treatment (in the same way we do with translate3d(0, 0, 0) now). Więcej w artykule: http://benfrain.com/improving-css-performance-fixed-position-elements/?utm_source=CSS-Weekly&utm_campaign=Issue-101&utm_medium=email

position: fixed;
backface-visibility: hidden;