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

@mrego I don't think that solution works, because setting width:100%
might cause the image height to overflow the grid area.  So the author
needs to know upfront the relative ratio of each image vs its grid 
area
to know which dimension to stretch.  This is very inconvenient.

My proposal doesn't have that problem.
(and if by chance an author wants an ratio-destroying stretch to fill
its area completely, they can simply use width:100%;height:100%)


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

Received on Thursday, 22 September 2016 15:07:51 UTC