aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/assets/scss/_scrolling.scss
blob: 201796003e7f932ad4f9311176f2b5598df704b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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;
  }
}