fix absolut position when padding in place

This commit is contained in:
Lukas Wöhrl
2020-06-11 17:45:45 +02:00
parent ede65bbce4
commit 1e1e5cb477
3 changed files with 56 additions and 19 deletions

View File

@@ -88,3 +88,7 @@
<div style="width:20px; height:20px; position: absolute; align-self: flex-end;"></div>
</div>
<div id="absolute_layout_percentage_from_padded_parent" style="flex-direction:column; width:750px; height:1000px; padding-top: 100px; border-top: 100px;">
<div style="width:750px; height:50%; position: absolute;"></div>
</div>