外枠の要素にposition: relative
動かしたい中身にposition: absoluteを指定して
中身に、例えば右下寄せなら
left: 0
bottom: 0
を追加すると外枠要素の右下に行く
多少ズレがあれば-したりしなかったりして微調整させる
右下寄せ