##Both Vertically and Horizontally center of the Page .box{ width: 300px; height: 300px; background-color: #232532; position: fixed; top: 0; bottom: 0; left: 0; right: 0; margin: auto; }