Snek/src/less/popup.less

30 lines
391 B
Text
Raw Normal View History

2020-03-25 17:29:28 +00:00
@keyframes popupAppear {
0% {
background: transparent;
}
100% {
background: black;
}
}
.popup {
animation: popupAppear 1s linear no-repeat;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
.content {
border-radius: 2rem;
background: @accentbg;
text-align: center;
postion: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}