2 /// Editorial by HTML5 UP
3 /// html5up.net | @ajlkn
4 /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
10 @include padding(6em, 0);
11 @include vendor('display', 'flex');
18 @include vendor('flex-grow', '1');
19 @include vendor('flex-shrink', '1');
24 @include vendor('flex-grow', '0');
25 @include vendor('flex-shrink', '0');
27 margin: 0 0 _size(element-margin) (_size(element-margin) * 2);
32 -moz-object-fit: cover;
33 -webkit-object-fit: cover;
34 -ms-object-fit: cover;
36 -moz-object-position: center;
37 -webkit-object-position: center;
38 -ms-object-position: center;
39 object-position: center;
44 @include orientation(portrait) {
45 @include vendor('flex-direction', 'column-reverse');
54 @include vendor('flex-grow', '0');
55 @include vendor('flex-shrink', '0');
60 @include vendor('flex-grow', '0');
61 @include vendor('flex-shrink', '0');
62 margin: 0 0 (_size(element-margin) * 2) 0;
69 @include breakpoint('<=xsmall') {