K
K
kim1232020-05-09 12:26:24
Frontend
kim123, 2020-05-09 12:26:24

How can I make sure that when scrolling the page to a certain distance, the photo is fixed and stops at a certain place?

How can I make sure that when scrolling the page to a certain distance, the photo is fixed and stops at a certain place? Similarly, if you turn from the bottom up.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Tyvaniuk, 2020-05-09
@kim123

It is possible without js if IE is not needed. css position sticky.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question