Created
January 24, 2020 01:33
-
-
Save webdevs-pro/0c8dcd18e92d9ed5209d7f66fdc24ddb to your computer and use it in GitHub Desktop.
offsetting an html anchor to adjust for fixed header
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: 100px; | |
margin-top: -100px; | |
visibility: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment