How to use "css-has-pseudo" in build step? #1532
Answered
by
romainmenke
Annie972297
asked this question in
Q&A
-
Hi, I want to use "css-has-pseudo" to improve the compatibility of ":has()". I have noticed the usage in Brower in the README.md as below,and it works in browsers. |
Beta Was this translation helpful? Give feedback.
Answered by
romainmenke
Dec 13, 2024
Replies: 1 comment 20 replies
-
Hi @Annie972297, Have you seen my answer here: #1504 (comment) |
Beta Was this translation helpful? Give feedback.
20 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Annie972297,
Thank you so much for working on this repro.
I've made some changes and published a new version.
This new version now listens for the
load
event on stylesheets.This should resolve your issue.
Can you try this version and let me know if this works?