Line 5: | Line 5: | ||
z-index: -1; | z-index: -1; | ||
width: 100%; | width: 100%; | ||
+ | overflow:hidden; | ||
+ | display:block; | ||
+ | height: 360px; | ||
} | } | ||
Line 10: | Line 13: | ||
top: 0; | top: 0; | ||
position: fixed; | position: fixed; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 21: | Line 18: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
+ | background-color:white; | ||
} | } | ||
Line 27: | Line 25: | ||
top: 0; | top: 0; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 19:59, 13 June 2017
- bg-video {
top: 0px; left: 0px; position: fixed; z-index: -1; width: 100%; overflow:hidden; display:block; height: 360px;
}
.sticky {
top: 0; position: fixed;
}
.nav { margin: 0; padding: 0; background-color:white; }
- sticky-element.sticky {
position: fixed; top: 0; }