Re: [csswg-drafts] [selectors-4] Add pseudo-class to establish before-change style for css-transitions on new elements. (#8174)

ok but:

```
h1, h2 {
 &.test:hover {
   color: red;
 }
}

h1:hover, h2:hover {
 &.test {
   color: red;
 }
}
```

will both work but with :initial

```
h1, h2 {
 &.test:initial{
   color: red;
 }
}

h1:initial, h2:initial {
 &.test {
   color: red;
 }
}
```

first fill work but second will not right? Just pointing out as nesting is not clear to some as it is with it wrapping things in :is() sometimes.



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


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

Received on Wednesday, 15 February 2023 20:18:28 UTC