Object Fit
Contain
Resize an element’s content to stay contained within its container using t.objectContain
.
t.objectContain
Cover
Resize an element’s content to cover its container using t.objectCover
.
t.objectCover
Stretch
Stretch an element’s content to fit its container using t.objectStretch
.
t.objectStretch
Center
Resize an element’s content to stay contained within its container using t.objectCenter
.
t.objectCenter
Repeat
Resize an element’s content to stay contained within its container using t.objectRepeat
.
t.objectRepeat