”
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
.eihe-caption {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
color: #fff;
z-index: 2;
opacity: 0;
background-color: #32354DE0;
transition: all .5s ease;
}
.eihe-caption:hover {
opacity: 1;
transition: all .5s ease;
}
”