mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Docs: add scroll-margin-top for keyboard navigation
This commit is contained in:
committed by
Mark Otto
parent
30e8d139fe
commit
d0fece9320
@@ -0,0 +1,5 @@
|
||||
// When navigating with the keyboard, prevent focus from landing behind the sticky header
|
||||
|
||||
main *:focus {
|
||||
scroll-margin-top: 100px;
|
||||
}
|
||||
Reference in New Issue
Block a user