Showing a block when you run over it?
Let's say dvi1 is in the middle of the page and div2 (it's hidden) is below it. we have a fixed, how to make div2 show when "header" runs over div1 (when scrolling)?
based on the position of the blocks relative to the viewport, getBoundingClientRectGabriella Thompson
To place the code, please use CodePen or similar tool. Thanks you!