diff options
Diffstat (limited to 'css/components/sticky.css')
-rwxr-xr-x | css/components/sticky.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/css/components/sticky.css b/css/components/sticky.css new file mode 100755 index 0000000..97141d0 --- /dev/null +++ b/css/components/sticky.css | |||
@@ -0,0 +1,23 @@ | |||
1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
2 | /* ======================================================================== | ||
3 | Component: Sticky | ||
4 | ========================================================================== */ | ||
5 | /* | ||
6 | * 1. More robust if padding and border are used | ||
7 | */ | ||
8 | [data-uk-sticky].uk-active { | ||
9 | z-index: 980; | ||
10 | /* 1 */ | ||
11 | box-sizing: border-box; | ||
12 | } | ||
13 | /* | ||
14 | * Faster animations | ||
15 | */ | ||
16 | [data-uk-sticky][class*='uk-animation-'] { | ||
17 | -webkit-animation-duration: 0.2s; | ||
18 | animation-duration: 0.2s; | ||
19 | } | ||
20 | [data-uk-sticky].uk-animation-reverse { | ||
21 | -webkit-animation-duration: 0.2s; | ||
22 | animation-duration: 0.2s; | ||
23 | } | ||