@@ -8,14 +8,14 @@ The most basic card needs only an `<mat-card>` element with some content. Howeve
8
8
provides a number of preset sections that you can use inside of an ` <mat-card> ` :
9
9
10
10
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 |
19
19
20
20
These elements primary serve as pre-styled content containers without any additional APIs.
21
21
However, 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
26
26
In addition to the aforementioned sections, ` <mat-card-header> ` gives the ability to add a rich
27
27
header to a card. This header can contain:
28
28
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 |
34
34
35
35
36
36
### Title groups
0 commit comments