Hi,
I have the following layout.
and i cannot seem to get it to center vertically and horizontally.
can anyone help me out plz?
Gary
Enter code <div layout="column" flex-xs flex-gt-xs="300" ng-cloak layout-
align="center center" style="height:100px">
<md-card>
<md-toolbar color="primary">Hair I Am Shelly...</md-toolbar>
<md-card-subtitle>join our community or login now</md-card-subtitle>
<md-card-content layout="column" layout-align="center center">
<md-input-container>
<input mdInput placeholder="Email:" type="email"
[(ngModel)]="credentials.email">
</md-input-container>
<md-input-container>
<input mdInput placeholder="Password:" type="password" [(ngModel
)]="credentials.password">
</md-input-container>
<div layout="row" [hidden]="!errorMessage" class="well error">{{
errorMessage }}</div>
</md-card-content>
<md-card-actions layout="row" layout-align="end center">
<button md-button-raised md-primary [disabled]="authenticating"
(click)="login(credentials)">
<md-icon>fingerprint</md-icon><span>Log in</span>
</button>
<button md-button-raised [disabled]="authenticating" (click)=
"register()">
<md-icon>group</md-icon><span> Register</span>
</button>
</md-card-actions>
</md-card>
</div>here...
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.