Re: [csswg-drafts] [css-flexbox][css-grid] Choose a single option for resolving padding and margin percent values of grid/flex items

I'm in agreement with @marcvangend.

It seems more useful to be able to define padding and margins that are percentages of the same value in both directions. Having vertical and horizontal padding in proportion with each other seems like something that would be used all the time, whether it's defining gutters with margins or creating "cards" with consistent padding.

I also _love_ the idea of being able define what a percentage is relative to by specifying something like `%w` `%h`, although I wonder if it might be a better idea to follow the pattern of [viewport relative units](https://www.w3.org/TR/css3-values/#viewport-relative-lengths), something like `w`, `h`, `min`, `max`?

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

Received on Thursday, 21 December 2017 03:23:28 UTC