3 All divs here should shrinkwrap to fit their content, except for fill-available
6 @import
"resources/height-keyword-classes.css";
18 display: inline-block;
28 .position-container
> * {
34 box-sizing: border-box;
49 <div class=
"container">
50 <div class=
"position-container">
51 <div class=
"min-content">
52 height: min-content
<br>on this box.
55 <div class=
"position-container">
56 <div class=
"max-content">
57 height: max-content
<br>on this box.
60 <div class=
"position-container">
61 <div class=
"fit-content">
62 height: fit-content
<br>on this box.
67 <div class=
"container">
68 <div class=
"position-container f-a-container">
69 <div class=
"fill-available">
70 height: fill-available
<br> on this box.
75 <div class=
"container">
76 <div class=
"position-container">
77 <div class=
"small min-height-min-content">
78 min-height: min-content
<br>on this box.
82 <div class=
"position-container">
83 <div class=
"small min-height-max-content">
84 min-height: max-content
<br>on this box.
88 <div class=
"position-container">
89 <div class=
"small min-height-fit-content">
90 min-height: fit-content
<br>on this box.
95 <div class=
"container">
96 <div class=
"position-container f-a-container">
97 <div class=
"small min-height-fill-available">
98 min-height: fill-available
<br> on this box.
103 <div class=
"container">
104 <div class=
"position-container">
105 <div class=
"big max-height-min-content">
106 max-height: min-content
<br>on this box.
110 <div class=
"position-container">
111 <div class=
"big max-height-max-content">
112 max-height: max-content
<br>on this box.
116 <div class=
"position-container">
117 <div class=
"big max-height-fit-content">
118 max-height: fit-content
<br>on this box.
123 <div class=
"container">
124 <div class=
"position-container f-a-container">
125 <div class=
"really-big max-height-fill-available">
126 max-height: fill-available
<br> on this box.