Component-Builder/media/uikit-v2/css/components/sticky.almost-flat.css

27 lines
765 B
CSS
Raw Permalink Normal View History

2019-04-22 13:31:39 +00:00
/*! UIkit 2.27.5 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2016-01-30 20:28:43 +00:00
/* ========================================================================
Component: Sticky
========================================================================== */
/*
* 1. More robust if padding and border are used
2017-11-12 00:33:10 +00:00
* 2. Enable hardware acceleration for iOS browsers, resolves scrolling issue
2016-01-30 20:28:43 +00:00
*/
[data-uk-sticky].uk-active {
z-index: 980;
/* 1 */
box-sizing: border-box;
2017-11-12 00:33:10 +00:00
/* 2 */
2016-01-30 20:28:43 +00:00
-webkit-backface-visibility: hidden;
}
/*
* Faster animations
*/
[data-uk-sticky][class*='uk-animation-'] {
2016-03-19 01:51:35 +00:00
-webkit-animation-duration: 0.2s;
animation-duration: 0.2s;
2016-01-30 20:28:43 +00:00
}
[data-uk-sticky].uk-animation-reverse {
2016-03-19 01:51:35 +00:00
-webkit-animation-duration: 0.2s;
animation-duration: 0.2s;
2016-01-30 20:28:43 +00:00
}