R
R
redd_i2018-03-13 21:21:50
JavaScript
redd_i, 2018-03-13 21:21:50

How to do the same scrolling?

Hello. How to make the block with information overlap when scrolling like on this site https://www.myportfolio.com/ . Thanks in advance.
ps The white block is superimposed on the blue when scrolling

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danil Tivikov, 2018-03-14
@redd_i

you make a hat with a height of 100vh
inside two divs
1) the top line is for it 2) The block itself, on which the renderer will be superimposed. you will also do it for the second div , and for the block that will be superimposed on it , and when you call it, you call the function for changing the transparency https://codepen.io/tivikov/pen/eMJoXRposition: fixed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question