Re: [csswg-drafts] [css-values-4] inherit() function: like var() for parent value, for any property (#2864)

Maybe we could re-use var() ? Since custom properties have to start with two dashes, it will be easy to distinguish them.

```css
.parent {
  border-color  : red;
  --border-color: blue;
}

.child {
  border-color: var(border-color);   /* red */
  border-color: var(--border-color); /* blue */
}
```

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


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

Received on Thursday, 9 January 2025 13:44:23 UTC