KSS Style Guide

10.1.1 #Object - Fit - con .of-con

Toggle example guides Toggle HTML markup

Sets the object-fit property of an element to contain.

Examples
Default styling
A div
.of-con
Sets object-fit to contain
A div
Markup
<div class="[modifier class]">A div</div>
Source: dist/minimal/minimal.css, line 6409