lundi 12 juin 2023

Updating default html checkbox styles?

I am facing a problem I am trying to figure out how can I update my html checkbox in such a ways that once it is checked instead of tick ✔️ inside I place a small white squared div with lesser dimensions as shown in the attached picture. when I un-check it just a normal black background checkbox with white-border.

enter image description here

I placed some efforts here

=> https://jsbin.com/xejupuziqi/edit?html,css,output,

but out of luck, unfortunately.




Aucun commentaire:

Enregistrer un commentaire