Re: [csswg-drafts] [css-grid] Shortcut syntax for repeat(M, 1fr)

I'm in favour of @LeaVerou I'm particularly interested in a shorter method of writing the `repeat(X, minmax(0,1fr))` syntax.

There was another issue where people wanted 1fr to change to minmax(0,1fr) by default but was shut down due to it's potential to break sites. I think this could be an opportunity to remedy that.

I don't like the idea of it being a unitless value though. I'm thinking a `rep` unit would make sense (`rep` like `repeat`. 

This is what I'm thinking:
`2rep = repeat(2, minmax(0, 1fr))`

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

Received on Tuesday, 8 May 2018 14:21:18 UTC