0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/site/assets/scss/_scrolling.scss
2023-08-05 15:09:56 -07:00

17 lines
249 B
SCSS

// When navigating with the keyboard, prevent focus from landing behind the sticky header
main {
a,
button,
input,
select,
textarea,
h2,
h3,
h4,
[tabindex="0"] {
scroll-margin-top: 80px;
scroll-margin-bottom: 100px;
}
}