20 lines
344 B
JavaScript
20 lines
344 B
JavaScript
|
|
import { css, quickPluginTest } from '../util/run'
|
||
|
|
|
||
|
|
quickPluginTest('objectFit').toMatchFormattedCss(css`
|
||
|
|
.object-contain {
|
||
|
|
object-fit: contain;
|
||
|
|
}
|
||
|
|
.object-cover {
|
||
|
|
object-fit: cover;
|
||
|
|
}
|
||
|
|
.object-fill {
|
||
|
|
object-fit: fill;
|
||
|
|
}
|
||
|
|
.object-none {
|
||
|
|
object-fit: none;
|
||
|
|
}
|
||
|
|
.object-scale-down {
|
||
|
|
object-fit: scale-down;
|
||
|
|
}
|
||
|
|
`)
|