Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

fxFlexAlign API

Adam Plumer edited this page Mar 14, 2018 · 2 revisions

The fxFlexAlign directive should be used on on elements within a sorted fxLayout container and dictates how the element should be aligned, overriding the container cross-axis alignment setting

<div fxLayout="row">
  <div fxFlexAlign="start">1. One</div>
  <div fxFlexAlign="center">2. Two</div>
  <div fxFlexAlign="center">3. Three</div>
  <div fxFlexAlign="end">4. Four</div>
</div>

fxFlexAlign Options

Shown below are the supported fxFlexAlign directive values and their resulting CSS stylings on the hosting element container

Value Equivalent CSS
start align-self: flex-start
center align-self: center
end align-self: flex-end
baseline align-self: baseline
stretch align-self: stretch

Note: All supported values for align-self are supported by this directive

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.