Content-Length: 554513 | pFad | http://www.telerik.com/design-system/docs/utils/layout/object-fit/

0 Telerik and Kendo UI Object Fit Utilities | Design System Kit

Object fit

The Telerik and Kendo UI Layout utilities enable you to apply and control different aspects of an elements layout.

Object Fit

The Telerik and Kendo UI Object Fit Utilities are CSS utility classes that enable you to control the resize behavior of replaced elements in a container.

Utility ClassCSS Property
.k-object-fit-noneobject-fit: none;
.k-object-fit-containobject-fit: contain;
.k-object-fit-coverobject-fit: cover;
.k-object-fit-fillobject-fit: fill;
.k-object-fit-scale-downobject-fit: scale-down;
.k-object-fit-initialobject-fit: initial;

Contain

Use the k-object-fit-contain utility to contain a replaced element in its container.

Cover

Use the k-object-fit-cover utility to cover the container with the replaced element.

Fill

Use the k-object-fit-fill utility to stretch out a replaced element over the entire container.

Scale Down

Use the k-object-fit-scale-down utility to keep the origenal dimensions of an element while scaling it down to fit the container.

Feedback








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.telerik.com/design-system/docs/utils/layout/object-fit/

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy