Re: [csswg-drafts] Proposal: Custom CSS Functions & Mixins (#9350)

> To do this with a function, you would need to pass in the values as arguments.

Like this? Or am i daydreaming now?

```css
.button-bar {
  display: flex;
  gap: 1rem;
  
  --mq(mobile, {
    flex-direction: column;
  })
}
```

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


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

Received on Monday, 24 March 2025 16:18:33 UTC