body { display: box; box-orient: horizontal; /* horizontally centered */ box-pack: center; /* vertically centered */ box-align: center; width: 100%; height : 100%; }