Using Pseudo-classes in CSS


Style elements in a particular state with pseudo-classes like :hover, :focus, and :active.

Source Code

button:focus {
    border-color: blue;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments