Home > Mobile >  How to make a go down button? So when clicking it will redirect me a dew pixels down
How to make a go down button? So when clicking it will redirect me a dew pixels down

Time:03-21

So I have this small icon and I want it to go down a little just enough to cover the entire part of So I click the circle

and it gets me here

which is basically a few pixels away

CodePudding user response:

give the next element to the arrow some id for example if it's a div, add this to it:

<div id="header">some content...</div>

the wrap the arrow inside an anchor tag and give it the id of the element you want to go to like this :

<a href="#header">
   <p>Go down            
  • Related