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
This is intentional in v6. Since ed9529bf5 (cards were reworked for v6), .card-body is a flex column that spaces its direct children with gap: var(--card-body-gap) and zeroes their block margins. A title no longer needs its own margin-bottom or color token, so .card-title has no rule of its own. The docs describe it as one of the "optional classes as content hooks": it is there for you to target in your own CSS, and .card-subtitle only exists to reduce the gap above it.
To change the space after a title, set --card-body-gap on the card (or on .card-body). To style the title itself, target .card-title in your own CSS, or use the type and color utilities on the heading.
I've added a small precision in the docs to make it clearer via #43103
Activity
svetamales5-dot commentedon Oct 16, 2026
julien-deramond commentedon Oct 16, 2026
Thanks for the report.
This is intentional in v6. Since ed9529bf5 (cards were reworked for v6),
.card-bodyis a flex column that spaces its direct children withgap: var(--card-body-gap)and zeroes their block margins. A title no longer needs its ownmargin-bottomor color token, so.card-titlehas no rule of its own. The docs describe it as one of the "optional classes as content hooks": it is there for you to target in your own CSS, and.card-subtitleonly exists to reduce the gap above it.To change the space after a title, set
--card-body-gapon the card (or on.card-body). To style the title itself, target.card-titlein your own CSS, or use the type and color utilities on the heading.I've added a small precision in the docs to make it clearer via #43103