Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I used .anchor:target {padding-top: 90px;} so that it only added the padding when they used the anchor tag. This way there isn't always a bunch of padding if the page loads at the top. Only when it loads a that specific point lower on the page.
Add Comment
Please, Sign In to add comment