Re: [csswg-drafts] [selectors] New selector to facilitate utility classes (`[name~^=value]`? `.prefix-*`?) (#10001)

> It appears that `.foo-*` is actually not currently valid, so it seems like a natural choice.

I think that can be confusing because `*` looks like the universal selector (analogous to https://github.com/w3c/csswg-drafts/issues/6571#issuecomment-912144703).

> Introducing a new attribute selector, that is basically a combination of `~=` and `^=`

I would go this way. I imagine a combination of `~=` and `$=` could also be useful (but less frequently).

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10001#issuecomment-1964639924 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 26 February 2024 16:54:16 UTC