[CSS] & [JQUERY] [selettore] :hover

:hover (selettore CSS e jQuery) riguarda gli elementi HTML al passaggio del mouse.

Sintassi

:hover {
  /* codice */
}

Esempi

<style>
p:hover {
  background-color: yellow;
}
</style>
<p>Sofferma il mouse su questo testo.</p>

Fonti esterne

css, jquery, selettori css e jquery

Related Articles

0 Comment

Rispondi