_tip.css
414 Bytes
.tip-box {
position: fixed;
top: 50%;
left: 50%;
z-index: 998;
transform: translate(-50%, -50%);
display: table;
max-width: 90%;
min-height: 100px;
border-radius: 8px;
text-align: center;
font-size: 28px;
color: #fff;
background-color: rgba(0, 0, 0, 0.7);
padding: 10px 20px;
.tip {
display: table-cell;
vertical-align: middle;
}
}