I am trying to vertically and horizontally center a paper-card and can't figure out where I am going wrong:
<body unresolved>
<div class="flex-vertical">
<div class="flex-horizontal">
<paper-card heading="Login" image="http://placehold.it/400x175/FFC107/000000">
<div class="card-content">
<paper-input label="Windows username" always-float-label></paper-input>
<paper-input label="Password" type="password" always-float-label></paper-input>
</div>
<div class="card-actions">
<paper-button>Login</paper-button>
</div>
</paper-card>
</div>
</div>
</body>
<style is="custom-style">
body {
@apply(--layout-fullbleed);
@apply(--layout-vertical);
}
.flex-horizontal {
@apply(--layout-horizontal);
@apply(--layout-center-justified);
}
.flex-vertical {
@apply(--layout-vertical);
@apply(--layout-center);
}
</style>