.wraper {
position: relative;
.box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.wraper {
display: table;
.box {
display: table-cell;
vertical-align: middle;
}
}
.wraper {
position: relative;
.box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.wraper {
display: table;
.box {
display: table-cell;
vertical-align: middle;
}
}