I am facing a dilemma that seems to have a straightforward solution, yet I cannot seem to find it. Currently, I am creating a basic login page with an angular material card (md-card) as the main component. Within this card, I have included all the necessary fields.
The issue arises when attempting to center this card both vertically and horizontally, which appears to be quite challenging. Despite consulting the documentation on alignment, using
layout="row" layout-align="center center"
does not yield the desired result. I have explored numerous examples on platforms like codepen and plunker, but none specifically address centering an md-card.
Can anyone provide a simple example illustrating how to center only an md-card within a view?