added margin auto test with stretching
This commit is contained in:
@@ -140,3 +140,13 @@
|
||||
<div id="margin_auto_left_fix_right_child_bigger_than_parent" style="height: 52px; width: 52px; justify-content: center;">
|
||||
<div style="width: 72px; height: 72px; margin-left: auto; margin-right: 10px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="margin_auto_top_stretching_child" style="width: 200px; height: 200px; align-items: center;">
|
||||
<div style="flex: 1; margin-top:auto;"></div>
|
||||
<div style="width: 50px; height: 50px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="margin_auto_left_stretching_child" style="width: 200px; height: 200px; align-items: center;">
|
||||
<div style="flex: 1; margin-left:auto;"></div>
|
||||
<div style="width: 50px; height: 50px;"></div>
|
||||
</div>
|
Reference in New Issue
Block a user