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
@@ -157,6 +160,41 @@ If a card with a cover is meant to occupy its full container width, it may be pr
157
160
158
161
Horizontal cards will attempt to span all available columns of a CSS Grid Layout. This comes in handy when displaying them [in a Deck](/docs/objects-deck--horizontal-card#with-horizontal-cards).
159
162
163
+
## With circular cover
164
+
165
+
The `c-card--circle-cover` modifier will change the appearance of the cover and adjacent content in the following ways:
166
+
167
+
- The cover image's aspect ratio will be square.
168
+
- The cover image will be fully rounded into a circle shape.
169
+
- When vertical, the card's text alignment will be centered to better align with the circle.
170
+
- When horizontal, the card's content will occupy more room than its image to account for the taller aspect ratio of the cover image.
171
+
172
+
This variation is best suited for links to bio information, such as on our team page.
A card with the `c-card--contained` class will gain a background color, padding and rounded corners. This can be helpful for offsetting the card visually from its surroundings.
@@ -230,5 +268,4 @@ When the card is a focal point and more contrast is desired, you may also attach
230
268
231
269
## Coming soon
232
270
233
-
- Progressive enhancement based on CSS Grid support
234
271
- Distinctly contained footers for PWA Stats (if necessary)
0 commit comments