Re: [csswg-drafts] [css-grid] Stretching image grid items in both dimensions

Well, actually manually setting the width won't cause the aspect ratio
 to be observed: it just sets the width in that dimension, and since 
the initial value of align-self is `stretch`, the other axis will 
continue to just stretch.

Squishing images seems a little odd, but as a starting point it's 
useful: the `object-fit` options are then only one step away, and the 
alignment options can be used to release the `stretch` in either or 
both axes easily.

GitHub Notification of comment by fantasai
Please view or discuss this issue at 
using your GitHub account

Received on Thursday, 22 September 2016 13:52:57 UTC