Re: [css-grid] align/justify-self stretch

On 09/06/2016 03:37 AM, oliver williams wrote:
> It is a very common use case to want a background color or image to take up the space of the entire grid-cell while wanting to
> center text or a logo. Currently using any value other than stretch with align-self, justify-self, align-items or justify
> items will cause the background to stop taking up the entire grid-cell. Could we not have a center-stretch value?

I think you want
   align-self: stretch;
   align-content: center;
This might not yet be implemented, but it will eventually work.

~fantasai

Received on Wednesday, 7 September 2016 16:20:11 UTC