Nice tunes. But adding the user select none leads to some usability benefit or is pure aesthetic? Im asking in case someone wants to copy the text on the label, that should be a valid situation, maybe.
And must be some issue with input names. I'll fix it for sure, thanks for the notice :)
Nice, is definitely a good point. I also like to bind label+checkbox as as a button, but I don't usually add user-select:none. Ill adopt it for some situations,thanks!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It looks great, for me to have a more natural css toggles I always add
cursor: pointer
anduser-select: none
to the label.In the demo, if you click on the radio button it'll check the checkbox above, if you could fix the for attributes.
Nice tunes. But adding the user select none leads to some usability benefit or is pure aesthetic? Im asking in case someone wants to copy the text on the label, that should be a valid situation, maybe.
And must be some issue with input names. I'll fix it for sure, thanks for the notice :)
It's just pure aesthetic, avoiding selecting the text after a double-click.
I tend to think about toggles as buttons, as the text in it won't be selectable because it's not interesting to be selected.
It's just my opinion.
Nice, is definitely a good point. I also like to bind label+checkbox as as a button, but I don't usually add
user-select:none
. Ill adopt it for some situations,thanks!