Mat card actions represents the section.
Mat card content child margin.
Mat card title represents the section for title.
It s a common ui pattern used with small cards.
Configure the gap size between each item.
32px for each child except the last.
Another example is a row based card list with 3 columns.
Elements like text and images should be placed on them in a way that clearly indicates hierarchy.
Cards contain content and actions about a single subject.
Card component is a kind of container that contains different elements like text image forms maps button link and any other elements.
The mat card an angular directive is used to create a card with material design styling and animation capabilities it provides preset styles for the common card sections.
After this is a great selector to add content or sometimes even block level elements after the selected elements here the first inner div in every set of inner divs.
While mat form field selector is valid and it works just fine sonarqube and other code quality tools will issue a warning on custom selectors.
As per the official documentation angular material card component is a container component which holds title text image and action buttons to represent the single or specific subject.
My suggestion is to hook the form fields by its class name instead of component tag mat form field width.
So the content not in the bottom div is indeed only added in the top div and not in the bottom div.
Fxlayoutgap 32px corresponding to margin bottom.
Mat card content represents the section for content.
They should be easy to scan for relevant and actionable information.