S
S
Sergey Frolov2020-04-26 11:14:53
css
Sergey Frolov, 2020-04-26 11:14:53

How to set the height of the slider in height and width for the entire active window?

How to set the height of the slider in height and width for the entire active window? So that when the browser window is reduced or enlarged, the image is cut off, and the slider adjusts to the window, here I saw it https://bridge198.qodeinteractive.com/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Timofey Mikhailov, 2020-04-26
@Zordig

The block, which should be the entire height of the browser window, should have the class ?
height: 100vh;

S
shva099, 2020-04-26
@shva099

The solution should use both js and css. Here is another example of such a site https://www.progress-nn.ru/. Look at the code in it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question