They are unnecessarily hard to style! I basically just hide the whole input and use CSS to show my own thing; I wrote a pair of articles on how to do just that:
Great job! That styling hack actually forces you to learn a lot of CSS techniques so there might be a silver lining for checkbox and inputs being the way they are 😄
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.
A
<checkbox>
or<radio>
.I know that there are input tags for that but they are so unnecessarily hard to style that I'd love some specifically built, easy to customize tags.
They are unnecessarily hard to style! I basically just hide the whole input and use CSS to show my own thing; I wrote a pair of articles on how to do just that:
Styling a checkbox with only CSS
Nathan Kallman ・ Jun 8 ・ 4 min read
Styling a radio button with only CSS
Nathan Kallman ・ Jun 22 ・ 4 min read
Great job! That styling hack actually forces you to learn a lot of CSS techniques so there might be a silver lining for checkbox and inputs being the way they are 😄