Created
January 5, 2019 09:40
-
-
Save sergixnet/cb933b26837b1cfc27253d99dff60392 to your computer and use it in GitHub Desktop.
How to offset anchor tag link using CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:target:before { | |
content:""; | |
display:block; | |
height:90px; /* fixed header height*/ | |
margin:-90px 0 0; /* negative fixed header height */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment