position: sticky fallback

This commit is contained in:
Matthias Kretschmann 2017-06-27 11:18:45 +02:00
parent 5fe5c6ef45
commit 46da05a1ca
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 5 additions and 1 deletions

View File

@ -365,8 +365,12 @@ body {
}
.sticky {
position: sticky;
position: fixed;
top: 0;
width: 100%;
z-index: 2;
@supports (position: sticky) {
position: sticky;
}
}