Just as the title indicates, I'm trying to horizontally and vertically center an absolutely positioned element. Here is a plunker of my attempt based on other posts I've found. The goal is to have the red ALERT text to be centered within the outlined box.
And here is the CSS:
.parent {
position: relative;
}
.child {
bottom: 0;
color: red;
left: 0;
margin: auto;
position: absolute;
right: 0;
top: 0;
}