Specification test cases
The test cases below are imported from the Turbo CSS specification.
They have been executed upon loading this page.
Use object-contain
t1 object-contain
.t1.object-contain {
object-fit: contain;
}
Use object-cover.
t1 object-cover
.t1.object-cover {
object-fit: cover;
}
Use object-fill.
t1 object-fill
.t1.object-fill {
object-fit: fill;
}
Use object-none.
t1 object-none
.t1.object-none {
object-fit: none;
}
Use object-scale-down.
t1 object-scale-down
.t1.object-scale-down {
object-fit: scale-down;
}