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

14 lines
218 B
SCSS

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