I have a specific question about SASS and how to make conditional styling from outside a nesting.
Given I have following case:
.wrapper {
  .child {
    @at-root .wrapper {
      background: red;
    }
  }
}
so what I'm trying to do is, that .wrapper only gets a background: red  if .child is existing. I know there is nothing like a parent selector in CSS, but maybe there is somehow a way to achieve this.
