W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: [css-flexbox] justify-self

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 22 Apr 2015 11:24:57 -0400
Message-ID: <5537BD49.5060002@inkedblade.net>
To: www-style@w3.org
On 04/03/2015 06:00 PM, Matt Hughes wrote:
> Flexbox defines the following properties:
>
> |justify-content -  main-axis parent
> align-items     - cross-axis parent
> align-self      - cross-axis self
> |
>
> Why is there no |justify-self| for aligning a single flexbox child along the main-axis?

Because flexing and flexible margins operate in that dimension,
and take care of alignment in that axis.

(There is a justify-self property for grid layout and other layout modes.)

~fantasai
Received on Wednesday, 22 April 2015 15:25:29 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:50 UTC