mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
wrap .sticky-top in supports query
This commit is contained in:
parent
4bab8b890e
commit
60d8c8754f
1 changed files with 5 additions and 3 deletions
|
@ -17,7 +17,9 @@
|
|||
}
|
||||
|
||||
.sticky-top {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: $zindex-sticky;
|
||||
@supports (position: sticky) {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: $zindex-sticky;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue