element:hover
Selektor element:hover stosuje stylizację do elementu, gdy jest nad nim kursor myszy.
Przykład użycia:
a:hover {
text-decoration: underline; /* Podkreśla link, gdy nad nim jest najechany kursorem myszy */
}Selektor element:hover stosuje stylizację do elementu, gdy jest nad nim kursor myszy.
Przykład użycia:
a:hover {
text-decoration: underline; /* Podkreśla link, gdy nad nim jest najechany kursorem myszy */
}