center content in dev css code example Example: how to make a division center css position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);