Answer the question
In order to leave comments, you need to log in
How can I implement the appearance of a hidden menu when scrolling to the desired element using CSS?
I have never been knowledgeable about this topic in general. Therefore, having studied the issue, I myself came to the conclusion that in my version this is most likely possible by playing with opacity in CSS.
If, in fact, the site is an example
, when scrolling on the header, a menu appears, in other words, I can create it, hide it under a layer in the header, but how to organize a "collision" of the sticky header on the desired element, so that the trigger clicks (opacity as I understand it in my case ) and it appeared? Maybe there is another way?
Answer the question
In order to leave comments, you need to log in
the javascript event is called scroll , search in the search engine for the tags "scroll menu" "sticky scroll menu"
here is one way to implement it : Stupidly simple sticky-on-scroll menu
************
if done in css then it's called position:sticky
************
in your example the menu is implemented in js
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question