Last active
March 3, 2017 14:08
-
-
Save rafszul/2b2615f21b27d4efaab9ec83d59ec88a to your computer and use it in GitHub Desktop.
Use @angular/flex-layout as a grid layout http://stackoverflow.com/questions/41811895/use-angular-flex-layout-as-a-grid-layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="widgets-row" | |
| fxLayout | |
| fxLayout.xs="column" | |
| fxLayoutAlign="start" | |
| fxLayoutWrap="wrap"> | |
| <div class="widget" fxFlex="100%">Large</div> | |
| </div> | |
| <div fxLayout | |
| fxLayout.xs="column" | |
| fxLayoutAlign="space-between" | |
| fxLayoutWrap="wrap"> | |
| <div fxFlex="49%" class="widget"></div> | |
| <div fxLayout | |
| fxLayout.xs="column" | |
| fxLayoutWrap="wrap" | |
| fxLayoutAlign="space-around" | |
| fxFlex="49%"> | |
| <div class="widget-sm" fxFlex="49%">Small</div> | |
| <div class="widget-sm" fxFlex="49%">Small</div> | |
| <div class="widget-sm" fxFlex="49%">Small</div> | |
| <div class="widget-sm" fxFlex="49%">Small</div> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment