Re: [csswg-drafts] [css-logical] Flow-relative syntax for `margin`-like shorthands

Ooh, I like @fantasai’s idea of an at-rule.

```css
p { margin: 1em 2em 3em 4em; } /* physical mapping */

@mode (flow-mode: relative) {
  /* everything in here is logical mapping */
  p {
    margin: 1em 2em 3em 4em;
  }
  @mode (flow-mode: physical) {
    /* everything in here is physical mapping */
    blockquote { margin: 1em 2em 3em 4em; }
  }
}
```

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

Received on Saturday, 18 August 2018 00:35:38 UTC