Re: [css-flexbox] justify-self

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