I am trying to position a div with buttons at the bottom of a parent div that has a padding.
The expected result is having the button resting on top of the
Absolute positioning does not take padding into account. A possible solution would be to add another container inside .mcontainer
, that also has position: relative
. That way, the inner container would respect the padding, and the absolute positioned element would be at the bottom of the inner container.