2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

wrap .sticky-top in supports query

This commit is contained in:
Mark Otto
2017-06-17 10:14:45 -07:00
committed by Mark Otto
parent 4bab8b890e
commit 60d8c8754f
+5 -3
View File
@@ -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;
}
}