Design comparison
Solution retrospective
any suggestion is welcome, in fact I don't know how to make the label buttons stay with the color change when I click, any help would be the best thing
Community feedback
- @PaletteJackPosted about 2 years ago
Nice, I like the styling of the background! Personally, I would add some padding around the card to give everything a little more space to breathe.
So normally you'd want to use the
:focus
on the label tag to show which button was pressed last. However, the label tag is not focusable. The only thing I could suggest is adding a div around your input and adding focus to that rather than the label.Marked as helpful0@AmdrewMGPosted about 2 years ago@PaletteJack Ah ok! Thanks for the suggestions! I'll do again the buttons with what you have already told me, so I test
0
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