2014-09-29 10:27:19 +02:00
|
|
|
// Hide element if checkbox is checked
|
2015-01-15 15:48:50 +01:00
|
|
|
input[type=checkbox]:checked + .label_hide_if_checked, input[type=checkbox]:checked + .label_hide_if_not_checked + .label_hide_if_checked {
|
2014-09-29 10:27:19 +02:00
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide element if checkbox is not checked
|
2015-01-15 15:48:50 +01:00
|
|
|
input[type=checkbox]:not(:checked) + .label_hide_if_not_checked, input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not_checked {
|
2014-09-29 10:27:19 +02:00
|
|
|
display:none;
|
|
|
|
}
|