an example of this is used for modals in daisyui -> https://daisyui.com/components/modal/#
the relevant style applied looks like this:
.modal-open, .modal:target, .modal-toggle:checked+.modal {
pointer-events: auto;
visibility: visible;
opacity: 1;
}