CSS3 object-fit
object-fit
プロパティは、置換要素、例えば <img>
や <video>
などの中身を、コンテナーにどのようにはめ込むかを設定します。object-fit
CSS property sets how the content of a replaced element, such as an <img>
or <video>
, should be resized to fit its container.object-fit
プロパティは、置換要素、例えば <img>
や <video>
などの中身を、コンテナーにどのようにはめ込むかを設定します。object-fit
CSS property sets how the content of a replaced element, such as an <img>
or <video>
, should be resized to fit its container.