comparison default/assets/scss/vendors/bootstrap/utilities/_position.scss @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1d038bc9b3d2
1 // Positioning
2
3 .fixed-top {
4 position: fixed;
5 top: 0;
6 right: 0;
7 left: 0;
8 z-index: $zindex-fixed;
9 }
10
11 .fixed-bottom {
12 position: fixed;
13 right: 0;
14 bottom: 0;
15 left: 0;
16 z-index: $zindex-fixed;
17 }
18
19 .sticky-top {
20 @supports (position: sticky) {
21 position: sticky;
22 top: 0;
23 z-index: $zindex-sticky;
24 }
25 }