O
O
offsiderst2021-06-13 15:46:57
css
offsiderst, 2021-06-13 15:46:57

How to add background for input type="checkbox"?

and remove the border
like I'm asking everything

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stefan, 2021-06-13
@offsiderst

Because we can't properly customize inputs, create a separate label for the input, bind to it, hide the input, and customize the label as you like, and change the label through the :checked pseudo-class
PS: The first link in Google

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question