I want to stylize the checkbox with a pseudo-element :checked. All works well when I'm on the page for the first time, but when I click on the link, and then I press the button to go back, the css stops working.
I changed ':checked input' dynamically via jQuery. (js events is working)
In Mozilla everything works well, but in the Chrome does not work
Perhaps this is due to the cache, or reinitialization of the script
.checkbox input[type="checkbox"]:checked + span:before { background-color: #259B24; border-color: #259B24; }
Aucun commentaire:
Enregistrer un commentaire