July 19, 2017

Centralizing box in screen

.tiles
    .tile jasdklfjslkadjfsdkla
    .tile jasdklfjslkadjfsdkla
    .tile jasdklfjslkadjfsdkla
    .tile jasdklfjslkadjfsdkla
.tiles {
	position: absolute;
	width: 1000px;
	text-align: center;
	border: 1px solid black;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	.tile {
	}
}

See the Pen owrQEx by wangsup (@wangsup) on CodePen.