Design comparison
SolutionDesign
Solution retrospective
I can't make button change color when it is clicked.
Community feedback
- @goatshubPosted over 1 year ago
Hello, you can use :hover selector to help with color change. For example: https://www.w3schools.com/css/tryit.asp?filename=trycss_buttons_hover
Marked as helpful2 - @Aimal-125Posted over 1 year ago
You can change button color on hover. For example: button:hover {background: blue};
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord