I am trying to customize my checkbox, the final goal is to look as close as possible to this:
Don't mind the background on Remember me
it's just to hide the text of the original label that is on my native language.
Even though it seems a lot different, at first I just wanted to changed the tick sign with a blue square and use the original checkbox
view so if I've missed something and it's still the easiest way please provide example.
However I was unable to find an attribute/option to change just that so I dig a little deeper and I decided to use THIS example to achieve my goal.
This is what I achieved on my own - JSFiddel Example but there are two major things I want to add if it's gonna be that way:
- I don't know why I should get the
<label>
tag involved but it seems that I can not bypass it, so now I'm not sure what's the best way to add theRemember me
text as it was before in between the<label>..</label>
tags. Now if i put it there it's messing with the checkbox itself. - I want the unchecked box to look more like the original one. now I use solid corol (
lightgrey
) but it would be nice if it's closer to the original style.
And of course, any changes that will make things look more like the example provided in the question are appreciated. I'm not stuck with this idea but it seems the closest to what I want.