Re: [csswg-drafts] [css-fonts-4] [varfont] Specify variable font instances relative to an ”anchor point”

IIUC what @astearns meant might be something like:

```css
:root {
    --font-weight-anchor-point: 400;
    --font-stretch-anchor-point: 75%;
}

.anchor {
    font-weight: var(--font-weight-anchor-point);
    font-stretch: var(--font-stretch-anchor-point);
}

.bold {
    font-weight: calc(var(--font-weight-anchor-point) + 300);
}

.expanded {
    font-stretch: calc(var(--font-stretch-anchor-point) + 50%);
}
```


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

Received on Wednesday, 7 March 2018 14:45:29 UTC