mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-02 18:02:37 +02:00
Proposal to use scroll-margin-top
instead of introducing padding and negative margin (#38220)
This commit is contained in:
committed by
GitHub
parent
5d4048350f
commit
a6d8aa827d
@@ -3,8 +3,11 @@
|
||||
main {
|
||||
a,
|
||||
button,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
[tabindex="0"] {
|
||||
scroll-margin-top: 100px;
|
||||
scroll-margin-top: 80px;
|
||||
scroll-margin-bottom: 100px;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user