I have a button inside a div. I want that button to appear in the bottom right corner. From other solutions I have learned that you should apply position: relative
to the parent div and position: absolute; right: 0; bottom: 0
to the button. But why do I need position: relative
for the parent div?
I have read the description of position: relative
but it doesn't make sense to me. I can position an element relative to its normal position. But I do not want to change the position of the parent div, why do I need this?