@@ -8,14 +8,14 @@ The most basic card needs only an `<mat-card>` element with some content. Howeve
88provides a number of preset sections that you can use inside of an ` <mat-card> ` :
99
1010
11- | Element | Description |
12- | ----------------------- | -------------------------------------------------------------------------- |
13- | ` <mat-card-title> ` | Card title |
14- | ` <mat-card-subtitle> ` | Card subtitle |
15- | ` <mat-card-content> ` | Primary card content. Intended for blocks of text |
16- | ` <img mat-card-image> ` | Card image. Stretches the image to the container width |
17- | ` <mat-card-actions> ` | Container for buttons at the bottom of the card |
18- | ` <mat-card-footer> ` | Section anchored to the bottom of the card |
11+ | Element | Description |
12+ | ---------------------- | ------------------------------------------------------ |
13+ | ` <mat-card-title> ` | Card title |
14+ | ` <mat-card-subtitle> ` | Card subtitle |
15+ | ` <mat-card-content> ` | Primary card content. Intended for blocks of text |
16+ | ` <img mat-card-image> ` | Card image. Stretches the image to the container width |
17+ | ` <mat-card-actions> ` | Container for buttons at the bottom of the card |
18+ | ` <mat-card-footer> ` | Section anchored to the bottom of the card |
1919
2020These elements primary serve as pre-styled content containers without any additional APIs.
2121However, the ` align ` property on ` <mat-card-actions> ` can be used to position the actions at the
@@ -26,11 +26,11 @@ However, the `align` property on `<mat-card-actions>` can be used to position th
2626In addition to the aforementioned sections, ` <mat-card-header> ` gives the ability to add a rich
2727header to a card. This header can contain:
2828
29- | Element | Description |
30- | ------------------------ | ------------------------------------------------------------------------- |
31- | ` <mat-card-title> ` | A title within the header |
32- | ` <mat-card-subtitle> ` | A subtitle within the header |
33- | ` <img mat-card-avatar> ` | An image used as an avatar within the header |
29+ | Element | Description |
30+ | ----------------------- | -------------------------------------------- |
31+ | ` <mat-card-title> ` | A title within the header |
32+ | ` <mat-card-subtitle> ` | A subtitle within the header |
33+ | ` <img mat-card-avatar> ` | An image used as an avatar within the header |
3434
3535
3636### Title groups
0 commit comments