S
S
Stepan Bagritsevich2016-05-29 08:51:08
css
Stepan Bagritsevich, 2016-05-29 08:51:08

How to make a hat for the whole crane?

It is required to make the site header full screen, like here .
And I want the slider to fill the entire screen.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Maxim Timofeev, 2016-05-29
@sbagritsevich

.header {width:100vw; height:100vh;}

F
Faber Estello, 2016-05-29
@senselessV7

if you don’t understand what you need to first open the developer panel in the browser and see how the menu and slider are made on this site, then how else can you explain or suggest how this is done for the whole

tap
!!!

X
xmoonlight, 2016-05-29
@xmoonlight

Ctrl+U, F12 - look at the source and styles and do the same.

J
Jon Doe, 2016-05-29
@frenkstar

.block {
width: 100%;
height: 100%;
position:  absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}

But in order to achieve such effects as there, you still need to twist js a little.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question