Trigger match rule for element NOT visible

I don’t want to fire scroll triggers if it’s a short page. I was thinking if the header is still visible, don’t trigger. Is the :not() pseudo-class supported for the selectors here?

Zaraz uses document.querySelectorAll for evaluating CSS queries. It’s unclear to me what kind of trigger you intend to create - Match Rules are running server-side so have no access to the DOM regardless. I think you’d need to add some small JS snippet to your code and make it fire zaraz.track when needed.