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 https://github.com/w3c/csswg-drafts/issues/523#issuecomment-248909542 using your GitHub accountReceived on Thursday, 22 September 2016 13:52:57 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:03 UTC