Re: [csswg-drafts] [css-grid-3] Repeat range (#9325)

I was about to create an issue for a similar problem until I discovered this issue.
I'd like to suggest the support for `min` `max` and `clamp`:

```css
/** Create a maximum of 5 columns */
grid-template-columns: repeat(min(auto-fill, 5), 500px);

/** Create a minimum of 2 columns */
grid-template-columns: repeat(max(auto-fill, 2), 500px);

/** Create between 2 and 5 columns */
grid-template-columns: repeat(clamp(2, auto-fill, 5), 500px);
```


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


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

Received on Saturday, 21 September 2024 19:49:25 UTC