mirror of
https://github.com/parchlinuxB/Gitee.git
synced 2025-02-28 12:55:47 -05:00
9 lines
241 B
Text
9 lines
241 B
Text
// Hide element if checkbox is checked
|
|
input[type=checkbox]:checked ~ .label_hide_if_checked {
|
|
display:none;
|
|
}
|
|
|
|
// Hide element if checkbox is not checked
|
|
input[type=checkbox]:not(:checked) ~ .label_hide_if_not_checked {
|
|
display:none;
|
|
}
|