You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: packages/mdc-card/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ elements:
171
171
CSS Class | Description
172
172
--- | ---
173
173
`mdc-card` | Mandatory, for the card element
174
-
`mdc-card--stroked` | Removes the shadow and displays a hairline stroke instead
174
+
`mdc-card--outlined` | Removes the shadow and displays a hairline outline instead
175
175
`mdc-card__primary-action` | The main tappable area of the card. Typically contains most (or all) card content _except_`mdc-card__actions`. Only applicable to cards that have a primary action that the main surface should trigger.
176
176
`mdc-card__media` | Media area that displays a custom `background-image` with `background-size: cover`
177
177
`mdc-card__media--square` | Automatically scales the media area's height to equal its width
@@ -190,6 +190,6 @@ CSS Class | Description
190
190
Mixin | Description
191
191
--- | ---
192
192
`mdc-card-fill-color($color)` | Sets the fill color of a card
193
-
`mdc-card-stroke($color, $thickness)` | Sets the color and thickness of a card's stroke (but does _not_ remove its shadow)
193
+
`mdc-card-outline($color, $thickness)` | Sets the color and thickness of a card's outline (but does _not_ remove its shadow)
194
194
`mdc-card-corner-radius($radius)` | Sets the corner radius of a card
195
195
`mdc-card-media-aspect-ratio($x, $y)` | Maintains the given aspect ratio on a `mdc-card__media` subelement by dynamically scaling its height relative to its width
0 commit comments