how to change the default style of selected radio button

Hi guys, I wonder how can I change the default style of selected radio button
No description
6 Replies
Tok124 (CSS Nerd)
You need to first use appearance:none; then you can set new styling, then you can create a pseudo element for when the checkbox is checked
Tok124 (CSS Nerd)
Oh you said radio button, my bad, but it works exactly the same for radio buttons so it shouldn't be any problems for you
Tok124 (CSS Nerd)
Here is with radio button
Tok124 (CSS Nerd)
But if you just wanna change color for example, you can use the accent-color property
noob
noobOP2w ago
It works for me. Thanks
clevermissfox
clevermissfox2w ago
Interestingly enough, accent-color only works with certain colour values. Never cracked the code of why or how to report it https://discord.com/channels/436251713830125568/1300108523245535273/1300302895643885638

Did you find this page helpful?