center absolute suedo element code example Example: center absolute suedo element left: 50%; position:absolute; top:50%; transform:translate(-50%,-50%);