Element queries using conditional CSS classes. In javascript.