27 lines
302 B
CSS
27 lines
302 B
CSS
#video {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
figure {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.img-background {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
figure .img-background {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 99;
|
|
}
|
|
|
|
figure:hover .img-background {
|
|
display: inline;
|
|
}
|