Fit
Sets how the content of a replaced element, such as an image or video, should be resized to fit its container
Usage
Add fit-* class to <img> or <video> tag.
<img src="" class="fit-cover"/>
Classes
| Class | Value |
|---|---|
fit-none | |
fit-auto | |
fit-fill | |
fit-contain | |
fit-cover | |
fit-scale-down |
Add
@s,@m, or@lsuffix to support breakpoints