CSS :state() reaches Baseline Widely available. Expose custom states from web components with CustomStateSet and style them inside and outside.