mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01:00
Better use the CSS
This commit is contained in:
parent
a7e01146e0
commit
1f7e7ebd10
@ -1,5 +1,10 @@
|
|||||||
// When navigating with the keyboard, prevent focus from landing behind the sticky header
|
// When navigating with the keyboard, prevent focus from landing behind the sticky header
|
||||||
|
|
||||||
main *:focus {
|
main {
|
||||||
scroll-margin-top: 100px;
|
a,
|
||||||
|
button,
|
||||||
|
[tabindex="0"] {
|
||||||
|
scroll-margin-top: 100px;
|
||||||
|
scroll-margin-bottom: 100px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user