Re: [csswg-drafts] [mediaqueries][css-conditional] else

@fantasai So if we pretend there's a `selector()` function that is 
true if something on the page matches that selector, I think you'd 
write:

```
@when selector(body.toc-inline) or (media(width < 28em) and not 
selector(body.toc-sidebar)) {
  /* inline ToC styling */
} @else {
  /* sidebar ToC styling */
}
```

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

Received on Wednesday, 25 May 2016 18:56:52 UTC