2016-10-23 10:27:30 -07:00
|
|
|
<div id="margin_start" style="width: 100px; height: 100px; flex-direction: row;">
|
|
|
|
<div style="width: 10px; margin-start: 10px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_top" style="width: 100px; height: 100px;">
|
|
|
|
<div style="height: 10px; margin-top: 10px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_end" style="width: 100px; height: 100px; flex-direction: row; justify-content: flex-end;">
|
|
|
|
<div style="width: 10px; margin-end: 10px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_bottom" style="width: 100px; height: 100px; justify-content: flex-end;">
|
|
|
|
<div style="height: 10px; margin-bottom: 10px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_and_flex_row" style="width: 100px; height: 100px; flex-direction: row;">
|
2017-01-30 08:32:29 -08:00
|
|
|
<div style="margin-start: 10px; margin-end: 10px; flex-grow: 1;"></div>
|
2016-10-23 10:27:30 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_and_flex_column" style="width: 100px; height: 100px;">
|
2017-01-30 08:32:29 -08:00
|
|
|
<div style="margin-top: 10px; margin-bottom: 10px; flex-grow: 1;"></div>
|
2016-10-23 10:27:30 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_and_stretch_row" style="width: 100px; height: 100px; flex-direction: row;">
|
2017-01-30 08:32:29 -08:00
|
|
|
<div style="margin-top: 10px; margin-bottom: 10px; flex-grow: 1;"></div>
|
2016-10-23 10:27:30 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_and_stretch_column" style="width: 100px; height: 100px;">
|
2017-01-30 08:32:29 -08:00
|
|
|
<div style="margin-start: 10px; margin-end: 10px; flex-grow: 1;"></div>
|
2016-10-23 10:27:30 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_with_sibling_row" style="width: 100px; height: 100px; flex-direction: row;">
|
2017-01-30 08:32:29 -08:00
|
|
|
<div style="margin-end: 10px; flex-grow: 1;"></div>
|
2016-10-23 10:27:30 -07:00
|
|
|
<div style="flex-grow: 1;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_with_sibling_column" style="width: 100px; height: 100px;">
|
2017-01-30 08:32:29 -08:00
|
|
|
<div style="margin-bottom: 10px; flex-grow: 1;"></div>
|
2016-10-23 10:27:30 -07:00
|
|
|
<div style="flex-grow: 1;"></div>
|
|
|
|
</div>
|
2017-02-14 14:26:09 -08:00
|
|
|
|
|
|
|
<div id="margin_auto_bottom" style="width: 200px; height: 200px; align-items: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-bottom:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_top" style="width: 200px; height: 200px; align-items: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-top:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_bottom_and_top" style="width: 200px; height: 200px; align-items: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-top:auto; margin-bottom:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_bottom_and_top_justify_center" style="width: 200px; height: 200px; justify-content: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-top:auto; margin-bottom:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_mutiple_children_column" style="width: 200px; height: 200px; flex-direction: column; align-items: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-top:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px; margin-top:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_mutiple_children_row" style="width: 200px; height: 200px; flex-direction:row; align-items: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-right:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px; margin-right:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_left_and_right_column" style="width: 200px; height: 200px; align-items: center; flex-direction: row;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-left:auto; margin-right:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_left_and_right" style="width: 200px; height: 200px; ">
|
|
|
|
<div style="width: 50px; height: 50px; margin-left:auto; margin-right:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
2017-03-01 09:12:40 -08:00
|
|
|
<div id="margin_auto_start_and_end_column" style="width: 200px; height: 200px; align-items: center; flex-direction: row;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-start: auto; margin-end: auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_start_and_end" style="width: 200px; height: 200px; ">
|
|
|
|
<div style="width: 50px; height: 50px; margin-start: auto; margin-end: auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
2017-02-14 14:26:09 -08:00
|
|
|
<div id="margin_auto_left_and_right_column_and_center" style="width: 200px; height: 200px; align-items: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-left:auto; margin-right:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_left" style="width: 200px; height: 200px; align-items: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-left:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_right" style="width: 200px; height: 200px; align-items: center;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-right:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_left_and_right_strech" style="width: 200px; height: 200px; flex-direction:row; align-items: stretch;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-left:auto; margin-right:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_auto_top_and_bottom_strech" style="width: 200px; height: 200px; flex-direction: column; align-items: stretch;">
|
|
|
|
<div style="width: 50px; height: 50px; margin-top:auto; margin-bottom:auto;"></div>
|
|
|
|
<div style="width: 50px; height: 50px;"></div>
|
|
|
|
</div>
|
2017-03-09 03:48:33 -08:00
|
|
|
|
|
|
|
<div id="margin_should_not_be_part_of_max_height" style="width: 250px; height: 250px;">
|
|
|
|
<div style="width: 100px; height: 100px; max-height: 100px; margin-top: 20px;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="margin_should_not_be_part_of_max_width" style="width: 250px; height: 250px;">
|
|
|
|
<div style="width: 100px; height: 100px; max-width: 100px; margin-left: 20px;"></div>
|
|
|
|
</div>
|