How to customize checkbox/radio without using background: url?

Asked

Viewed 3,659 times

2

Whenever I search for "customize", "checkboxes" and "radios", examples appear using background:url(image.png).

There is a way to customize a "checkbox" with "CSS only" without use background:url?

  • Why not use a url in the background? Well, you can try with box-shadow and other internal elements then, well explained in that article

  • 1

    That’s exactly what I needed, the -webkit-appearance: none; sort of "reset" the properties of the checkbox to be able to customize. Answer with this I assign as right.

1 answer

1


You can try using the -webkit-appearance: none; to reset the default style and customize radio and other input elements, as well explained in that article.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.