2018-08-07

spring form checkbox auto add hidden input css not working










https://stackoverflow.com/questions/43749850/how-to-place-a-tag-element-between-the-input-tag-and-the-hidden-field


https://jsfiddle.net/DiogoBernardelli/rLutkcx0/

.switch input[type="checkbox"]:checked + input[type="hidden"] + label:after{
    left: 23px;
}
.switch input[type="checkbox"]:checked + input[type="hidden"] + label{
    background-color: #fff;
    color: #f00;
}


No comments:

Google Referrals