Codice e… birra!

Animazione CSS ottimizzata

Come vedi le possibilità sono davvero infinite… keyframes e proprietà “animation” sono le tue migliori alleate!! Un brindisi a loro!!

element.addEventListener( ' mouseenter ' , hintBrowser )

function hintBrowser ( ) {
this.style.willChange = ' transform ' ;
}

btn : hover ,
btn : focus {
will-change : transform;
}