dropcss icon indicating copy to clipboard operation
dropcss copied to clipboard

Add support for pseudo class `:is`

Open tornqvist opened this issue 4 years ago • 2 comments

Adds support for the :is selector (aka. :matches, :any).

I also took the opportunity to add .gitignore and .npmrc files to exclude node_modules and package-lock without being dependent on local config.

tornqvist avatar Feb 07 '22 13:02 tornqvist

thanks :)

of course the main use case for this selector is with a list of sub-selectors > 1 (which would be a good thing to add in future alongside lists in :not()).

https://developer.mozilla.org/en-US/docs/Web/CSS/:is

leeoniya avatar Feb 07 '22 15:02 leeoniya

Agreed, this is mainly a quick fix to prevent crashing on unrecognized pseudo classes.

tornqvist avatar Feb 07 '22 16:02 tornqvist