If you set a custom class for this h3
<h3 class="TEST jump" id="TEST">TEST</h3>
then you could add CSS like so:
.jump {
display: block;
position: relative;
top: -250px;
visibility: hidden;
}
If you set a custom class for this h3
<h3 class="TEST jump" id="TEST">TEST</h3>
then you could add CSS like so:
.jump {
display: block;
position: relative;
top: -250px;
visibility: hidden;
}
is there any way to scroll above an element?
I mean, the following “H3” tag for example:
<h3 class="TEST" id="TEST">TEST</h3>
<p>TEXT</p>
I would like to jump a little above this “TEST” element using HREF:
<a href="#TEST">
like 5px above. is there any way to do it?
Thanks
Does this answer your question?
@Abhishek Thanks, but I have already done an HREF and it works fine, I need to jump a little bit above this element.