Hello-World-Component/media/uikit-v2/css/components/sticky.gradient.css

27 lines
765 B
CSS
Raw Normal View History

2018-05-05 01:23:14 +00:00
/*! UIkit 2.27.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/* ========================================================================
Component: Sticky
========================================================================== */
/*
* 1. More robust if padding and border are used
* 2. Enable hardware acceleration for iOS browsers, resolves scrolling issue
*/
[data-uk-sticky].uk-active {
z-index: 980;
/* 1 */
box-sizing: border-box;
/* 2 */
-webkit-backface-visibility: hidden;
}
/*
* Faster animations
*/
[data-uk-sticky][class*='uk-animation-'] {
-webkit-animation-duration: 0.2s;
animation-duration: 0.2s;
}
[data-uk-sticky].uk-animation-reverse {
-webkit-animation-duration: 0.2s;
animation-duration: 0.2s;
}