In CSS allows absolute positioning lets you position an element relative to the nearest ancestor. You are able to control the placement using top, right, left, and bottom properties. I was able to center an element inside another combined with the transform function here.

