Skip to content

Instantly share code, notes, and snippets.

@thebuilder thebuilder/gist:9115651
Last active Aug 29, 2015

Embed
What would you like to do?
Anchor offset
/**
* Offset the anchor tag
*/
a.anchor{
display: block;
position: relative;
top: -20px;
visibility: hidden;
}
<a id="subpage" class="anchor"></a>
<div>Actual content</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.