Media
Object Fit
Style syntax for setting how the content should be resized to fit its container.
š§This page is still under construction and some content may not be complete.
Overview [sr-only]
Conditionally apply
Apply styles in different states using selectors, media queries, etc.
<div class="object-fit:fill:hover object-fit:fill@sm object-fit:fill@dark object-fit:fill@print">ā¦</div>