Centering an absolute div inside a relative div

position: relative;
width: 100%;
height: 100%;
.child {
position: absolute;
width: 60%;
height: 80%;
how to center?

This might help:

Here is a css-tricks article on centering you might want to keep handy. It has most of the different CSS centering techniques (for the different use cases).