public marks

PUBLIC MARKS from decembre with tags tricks & truc

31 December 2013 11:30

CSS - TRICKS - Vitesse de réaction : Retirer du body la classe hover LORS du défilement - 60fps scrolling using pointer-events: none | The CSS Ninja - All things CSS, JavaScript & HTML

by 1 other
L'essentiel de la technique est de retirer la classe hover du body LORS du défilement et tous vos . hover sélecteurs ne correspond pas jusqu'à ce que l'utilisateur cesse de faire défiler la page , la classe étant alors ajoutée a body. About avoiding unnecessary paints through disabling hover effects as the user scrolls, which is a great approach. The down side being managing all your hover states through a parent class.

decembre's TAGS related to tag tricks

about:config +   audio +   background +   bookmark +   browser +   configuration +   content +   conversion +   convert +   convertir +   css +   dev +   download +   dvd +   effect +   effet +   example +   favoris +   firefox +   fix +   hover +   html5 +   image +   javascript +   jQuery +   online +   optimiser +   placeholder +   player +   podcast +   podcasting +   problem +   radio +   record +   remote +   resize +   scroll +   scrollbar +   search +   snapshot +   solution +   subtitle +   svg +   text +   textarea +   tips +   truc +   tutorial +   tutoriel +   video +   video:player +   vlc +   wallpaper +   watermarkmark +   web +   web:radio +   webcam +