diff options
Diffstat (limited to 'uikit/static/css/components/sticky.almost-flat.css')
-rw-r--r-- | uikit/static/css/components/sticky.almost-flat.css | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/uikit/static/css/components/sticky.almost-flat.css b/uikit/static/css/components/sticky.almost-flat.css new file mode 100644 index 0000000..a6dd3c4 --- /dev/null +++ b/uikit/static/css/components/sticky.almost-flat.css @@ -0,0 +1,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; +} |