You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ h4_ "Image default (will respect image's original aspect ratio & dimensions)"
18
19
, example
19
20
$ Image.image
20
21
$$$ flexo
21
-
, h4_ "Image + resize { width: 120px, height: 40px }, the image will fill the height and width of its parent (object-fit: cover), maintaining its aspect ratio but cropping the image"
22
+
, h4_ "Image + resize { width: 40px, height: 120px }, the image will fill the height and width of its parent (object-fit: cover), maintaining its aspect ratio but cropping the image"
22
23
, example
23
24
$ Image.image
24
-
$ Image.resize { width: 120, height: 40 }
25
+
$ Image.resize { width: 40, height: 120 }
25
26
$$$ flexo
26
-
, h4_ "Thumbnail default (will always have a square aspect ratio)"
27
+
, h4_ "Thumbnail default (will always have a square aspect ratio); and defaults to object-fit: cover"
27
28
, example
28
29
$ Image.thumbnail
29
30
$$$ flexo
31
+
, h4_ "Thumbnail default (will always have a square aspect ratio); but can be override with object-fit: contain"
0 commit comments