Difference between revisions of "Template:Tongji Software/CSS"

Line 260: Line 260:
 
                 backface-visibility: hidden;
 
                 backface-visibility: hidden;
 
             }
 
             }
             .cd-header.is-visible {
+
            /*.cd-header .is-fixed {
 +
                /* when the user scrolls down, we hide the header right above the viewport */
 +
                position: fixed;
 +
                top: -80px;
 +
                background-color: rgba(2, 23, 37, 0.96);
 +
                -webkit-transition: -webkit-transform 0.3s;
 +
                -moz-transition: -moz-transform 0.3s;
 +
                transition: transform 0.3s;
 +
            } */
 +
             .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 */
 
                 -webkit-transform: translate3d(0, 100%, 0);
 
                 -webkit-transform: translate3d(0, 100%, 0);

Revision as of 16:37, 16 October 2019

Tongji Software | Pathlab