aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/static/css/components/sticky.gradient.css
blob: a6dd3c480f781ee05bcfcc664fb85d8eefcf0b9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/* ========================================================================
   Component: Sticky
 ========================================================================== */
/*
 * 1. More robust if padding and border are used
 */
[data-uk-sticky].uk-active {
  z-index: 980;
  /* 1 */
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/*
 * 1. Resolve frame-rate issues on devices with lower frame-rates. Forces hardware acceleration
 */
.uk-sticky-placeholder > * {
  /* 1 */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
/*
 * Faster animations
 */
[data-uk-sticky][class*='uk-animation-'] {
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
}
[data-uk-sticky].uk-animation-reverse {
  -webkit-animation-duration: 0.04s;
  animation-duration: 0.04s;
}