A
A
alexeremin3152017-11-09 15:28:56
css
alexeremin315, 2017-11-09 15:28:56

How to make a responsive full screen video in the header of the site?

You need to embed the video on the main page so that when you start it appears immediately in full screen mode.
example example2 and regardless of the size of the browser window was full-screen, while scrolling down the content appeared.
I can't figure out what the problem is. The video is inserted but scaled with the site. That is, in a narrow window, the video is not full-screen and the content is immediately visible.
I just started learning layout, I don't understand everything yet. now the video is like this

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Lokshin, 2017-11-09
@Ddmitrich

Add css property height: 100vh to newHeaderTop class

D
Danil Tivikov, 2017-11-09
@tivikovv

Maybe a video will help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question