CSS hoverstate code example
Example 1: css hover
.a:hover{background-color: black;}
Example 2: on hover css
/* Changes an element's color on hover */
.selector {
background-color: black;
}
.selector:hover {
background-color: blue;
}
.a:hover{background-color: black;}
/* Changes an element's color on hover */
.selector {
background-color: black;
}
.selector:hover {
background-color: blue;
}