Creating Hover Effects in CSS


Use the :hover pseudo-class to define a change when a user hovers over an element.

Source Code

.button:hover {
    background-color: blue;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments