Boolean$object-fit-disable-everything: false !default;Set to true to disable generating any styles
Boolean$object-fit-disable-cover: false !default;Set to true to only disable the object-fit: cover styles
Boolean$object-fit-disable-fill: false !default;Set to true to only disable the object-fit: fill styles
Boolean$object-fit-disable-none: false !default;Set to true to only disable the object-fit: none styles
Boolean$object-fit-disable-scale-down: false !default;Set to true to only disable the object-fit: scale-down styles
String$object-fit-display: block !default;The default display property value. This could be flex, grid, etc if it should be applied globally.
Map$object-fit-aspect-ratios: (
"16-9": 16 9,
"4-3": 4 3,
"1-1": 1 1,
) !default;The default set of aspect ratios to support. The map key should be the class name suffix and the value a space separate list.
mixin@mixin styles($disable-layer: false) { … }Generates all the styles for the objectFit class name utility and should not be used if calling @include core.styles.
| Name | Description | Type | Default Value |
|---|---|---|---|
$disable-layer | Set this to | Boolean | false |