Answer the question
In order to leave comments, you need to log in
Full video background how does it work?
I can not understand. Here is the script on codepen
The css says
@media screen and (max-device-width: 800px) {
html { background: url(//demosthenes.info/assets/images/polina.jpg) #000 no-repeat center center fixed; }
#bgvid { display: none; }
}
Answer the question
In order to leave comments, you need to log in
And why should it disappear if the general rules for the video tag are set?
video {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question