mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-28 02:00:23 +00:00
Better use the CSS
This commit is contained in:
parent
a7e01146e0
commit
1f7e7ebd10
1 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,10 @@
|
|||
// When navigating with the keyboard, prevent focus from landing behind the sticky header
|
||||
|
||||
main *:focus {
|
||||
scroll-margin-top: 100px;
|
||||
main {
|
||||
a,
|
||||
button,
|
||||
[tabindex="0"] {
|
||||
scroll-margin-top: 100px;
|
||||
scroll-margin-bottom: 100px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue