the-glorious-startpage/css/centeredbox/centered-box.css

28 lines
409 B
CSS
Raw Normal View History

2020-06-04 03:00:27 +02:00
.centeredBar {
2020-06-04 03:00:27 +02:00
width: 100%;
height: auto;
border: none;
pointer-events: none;
position: absolute;
2020-06-04 03:00:27 +02:00
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
2020-06-04 07:43:09 +02:00
}
#centeredBox {
opacity: 1;
z-index: 2;
transition:
opacity var(--transition-speed),
z-index var(--transition-speed);
2020-06-04 07:43:09 +02:00
}
.centeredBar#centeredBox.hiddenBox {
opacity: 0;
z-index: 0;
}