Styling Buttons on Active State in CSS


Provide feedback when buttons are clicked by styling their active state.

Source Code

button:active {
    transform: scale(0.98);
    background-color: #0056b3;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments