KSS Style Guide

29.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/full/full.css, line 19597