Re: [css-align][css-grid] About stretch and justify|align-self|items properties

Hi,

thanks for the reply.

On 04/11/15 22:01, Tab Atkins Jr. wrote:
>> By default ("stretch") item's size would be 50x50.
>> But if we use "justify|align-self: start;" the item's size will be
>> 100x100 (because of "grid items will auto-size to fit their contents"
>> from the quote above).
>> So "stretch" is somehow shrinking the item in this particular example.
>>
>> Notice that the "stretch" case with the default value for
>> "min-width|height: auto;" will be 100x100 too.
> 
> Yeah, same behavior from Flexbox. Do you want a note or example or
> something here?

Dunno, maybe a note is enough. At least, it seemed something weird to me
that "stretch" was actually shrinking things in some cases.

Bye,
  Rego

Received on Thursday, 5 November 2015 12:48:38 UTC