0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/site/assets/scss/_scrolling.scss

14 lines
218 B
SCSS
Raw Normal View History

// When navigating with the keyboard, prevent focus from landing behind the sticky header
2023-03-08 14:51:49 +01:00
main {
a,
button,
h2,
h3,
h4,
2023-03-08 14:51:49 +01:00
[tabindex="0"] {
scroll-margin-top: 80px;
2023-03-08 14:51:49 +01:00
scroll-margin-bottom: 100px;
}
}