Re: [csswg-drafts] [css-nesting-1] & representing parent elements vs parent selector (#8310)

In Sass it is also perfectly fine to use pseudo elements in the parent :

```scss
::before, ::after {
    color: cyan;

    @media (min-width: 300px) {
        color: lime;
    }

    &:hover {
        color: pink;
    }
}
```

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


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

Received on Saturday, 14 January 2023 07:28:12 UTC