: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>
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment