3 * The CSS and class names below are based on Slick media for easy migration.
8 -ms-box-sizing: border-box;
9 -webkit-box-sizing: border-box;
10 box-sizing: border-box;
18 * Aspect ratio element wrapper. So can use dynamic/fluid ratio via JS which is
19 * not possible using ::pseudo selector approach.
28 /* Allows to fix broken images with hidden elements, see slick.load.js. */
29 .media.js-media--ratio {
33 /* Aspect ratio element: IMG, IFRAME, DIV. */
34 .media--ratio .media__element {
51 padding-bottom: 66.66%;
61 padding-bottom: 62.5%;
66 padding-bottom: 56.25%;
69 /* Be sure to add width to the container accordingly, otherwise collapsed. */