Line 242: | Line 242: | ||
backface-visibility: hidden; | backface-visibility: hidden; | ||
} | } | ||
− | + | .cd-header.is-fixed { | |
/* when the user scrolls down, we hide the header right above the viewport */ | /* when the user scrolls down, we hide the header right above the viewport */ | ||
position: fixed; | position: fixed; | ||
Line 250: | Line 250: | ||
-moz-transition: -moz-transform 0.3s; | -moz-transition: -moz-transform 0.3s; | ||
transition: transform 0.3s; | transition: transform 0.3s; | ||
− | } | + | } |
.cd-header.is-visible { | .cd-header.is-visible { | ||
/* if the user changes the scrolling direction, we show the header */ | /* if the user changes the scrolling direction, we show the header */ |
Revision as of 15:26, 8 October 2019