Files
yoga/docs/_docs/flexbox/justify-content.md
Emil Sjolander f2080e520f Move yoga docs into docs folder on master branch
Summary: Move yoga docs into master branch so that pull requests are able to include doc updates as part of other changes.

Reviewed By: JoelMarcey

Differential Revision: D4365700

fbshipit-source-id: 2f46a88974104c454c00bcdf1257abb5c4075a68
2016-12-28 04:09:48 -08:00

2.6 KiB

docid, title, layout, permalink
docid title layout permalink
justify-content Justify content docs /docs/justify-content/

The JustifyContent property describes how to align children within the main axis of a container. For example, you can use this property to center a child horizontally within a container with FlexDirection = Row or vertically within a container with FlexDirection = Column.

JustifyContent accepts 1 of the following 5 options:

  • FlexStart (default)
  • FlexEnd
  • Center
  • SpaceBetween
  • SpaceAround

JustifyContent = FlexStart

JustifyContent = FlexEnd

JustifyContent = Center

JustifyContent = SpaceBetween

JustifyContent = SpaceAround