Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Add default scroll-margin-top value #38

Open
jdbann opened this issue Jan 21, 2021 · 1 comment
Open

Add default scroll-margin-top value #38

jdbann opened this issue Jan 21, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jdbann
Copy link

jdbann commented Jan 21, 2021

I saw @hankchizljaw's tweet and thought this might be a very sensible thing to include...

Include a default scroll-margin-top value for any element with an id attribute.

[id] {
  scroll-margin-top: 2ex;
}
@Andy-set-studio
Copy link
Owner

Yeh I think this is a good shout to add in. I'm doing #39 this week, so I'll lump this in too and update the article. Thanks!

@Andy-set-studio Andy-set-studio added the enhancement New feature or request label Feb 1, 2021
@Andy-set-studio Andy-set-studio self-assigned this Feb 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants