You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone managed to set up the css-has-pseudo plugin for PostCSS with sveltekit (either directly or via postcss-preset-env)? I'm not exceptionally familiar with this plugin but wanted to use it because I have a few situations in which :has would be quite useful, and I'm tired of working around Firefox's lack of an implementation.
I've tried setting it up using svelte-preprocess with the below config. I get no errors it just...doesn't work. I can see it writing the extra CSS selectors, but in the browser, nothing is getting set on the relevant element.
Curious if anyone else has tried using this plugin?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Has anyone managed to set up the css-has-pseudo plugin for PostCSS with sveltekit (either directly or via postcss-preset-env)? I'm not exceptionally familiar with this plugin but wanted to use it because I have a few situations in which
:has
would be quite useful, and I'm tired of working around Firefox's lack of an implementation.I've tried setting it up using svelte-preprocess with the below config. I get no errors it just...doesn't work. I can see it writing the extra CSS selectors, but in the browser, nothing is getting set on the relevant element.
Curious if anyone else has tried using this plugin?
Beta Was this translation helpful? Give feedback.
All reactions