Re: [css-houdini-drafts] [css-custom-functions] user-defined custom CSS functions (#1007)

alternatively since the property rule (https://developer.mozilla.org/en-US/docs/Web/CSS/@property) is available in modern browsers, how about use similar approach:

```css
@function fn-name {
  use: "awesomeFunction";
  arguments: [<number> | <percentage>]?
}

body {
  color: fn-name(10);
}
```

-- 
GitHub Notification of comment by oknoorap
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1007#issuecomment-2360846697 using your GitHub account


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

Received on Thursday, 19 September 2024 12:24:18 UTC