diff --git a/packages/mdc-card/_mixins.scss b/packages/mdc-card/_mixins.scss index 2a3b36bb045..2d943342ad3 100644 --- a/packages/mdc-card/_mixins.scss +++ b/packages/mdc-card/_mixins.scss @@ -53,6 +53,7 @@ $ripple-target: '.mdc-card__ripple'; .mdc-card { @include feature-targeting.targets($feat-structure) { @include container-layout_; + position: relative; } // Transparent card border for high-contrast mode. @@ -81,6 +82,12 @@ $ripple-target: '.mdc-card__ripple'; } } + .mdc-card__focus-ring { + @include feature-targeting.targets($feat-structure) { + position: absolute; + } + } + // // Media //