Answer the question
In order to leave comments, you need to log in
How to add dots to background?
Hello.
I have a video as a background, here is the code:
<!DOCTYPE html>
<html>
<head>
<title>да</title>
<meta charset="utf-8">
<style type="text/css">
#video-bg{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;z-index:1}#video-bg > video{position:absolute;top:0;left:0;min-width:100%;min-height:100%;width:auto;height:auto}
</style>
</head>
<body bgcolor="black">
<div id="video-bg">
<video width="100%" height="auto" preload="auto" autoplay="autoplay" loop="loop" muted="muted">
<source src="/static/video.mp4" type="video/mp4"></source>
</video>
</div>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
https://webref.ru/ here you will learn how to apply ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question