Design comparison
Solution retrospective
I'd like to know your comments to improve my skills.
I'd like to know how to change the color of a radio button when it is checked, I've tried but I didn't get it.
Community feedback
- @MaahnoorPosted almost 3 years ago
Great job at the challenge
there are ways to design your own radio buttons but a shortcut you could take is this: input[type='radio'] { accent-color: hsl(176, 50%, 47%); } this approach is not supported in some browsers and also the browser adjusts a contrasting colour for legibility read here: https://usefulangle.com/post/389/css-radio-button-color or make your custom button: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_custom_radio
hope it helps
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