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

This is the best `object-fit` rule I can come up with that somewhat 
solves
the problem:
```
img {
  object-fit: contain;
  box-sizing: border-box; 
  justify-self: start;
  align-self: start;
  min-width: 0px;
  min-height: 0px;
  max-width: 100%;
  max-height: 100%;
}
```

@fantasai is that what you're suggesting authors should use?
(If not, please post the exact rule you're thinking of so that I can 
have
a reasonable opportunity to critique it.  Thanks)

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

Received on Thursday, 22 September 2016 17:05:21 UTC