Created
May 8, 2017 12:32
-
-
Save AlexanderKozhevin/5c13c668f8107827996e01d0a597776c to your computer and use it in GitHub Desktop.
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
<grid [mdGrid]="[2,1]" [xsGrid]="[1,2]" ratio="[1,1]"> | |
<grid-area [mdArea]="[1,1,1,1]" [xsArea]="[1,1,1,1]" class="grid-demo"> | |
<div class="area-heading d-flex justify-content-between flex-row align-items-center"> | |
<div class="d-flex">Heading</div> | |
</div> | |
<div class="area-content"> | |
Contents | |
</div> | |
</grid-area> | |
<grid-area [mdArea]="[1,2,1,1]" [xsArea]="[1,2,1,1]" class="grid-demo"> | |
<div class="area-heading d-flex justify-content-between flex-row align-items-center"> | |
<div class="d-flex">Heading</div> | |
</div> | |
<div class="area-content"> | |
Contents | |
</div> | |
</grid-area> | |
</grid> | |
<!-- @Input() xsArea: Array<number>; // 0 - 599 mobile | |
@Input() smArea: Array<number>; // 600 - 959 Tablet | |
@Input() mdArea: Array<number> = [1,1,1,1]; // 960 - 1279 Desktop | |
@Input() lgArea: Array<number>; // 1280 - 1919 | |
@Input() xlArea: Array<number>; // 1920 --> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment