Line 83: | Line 83: | ||
background-color: #333; /* Black background color */ | background-color: #333; /* Black background color */ | ||
position: fixed; /* Make it stick/fixed */ | position: fixed; /* Make it stick/fixed */ | ||
− | top: | + | top: 60px; /* Hide the navbar 50 px outside of the top view */ |
width: 100%; /* Full width */ | width: 100%; /* Full width */ | ||
transition: top 0.3s; /* Transition effect when sliding down (and up) */ | transition: top 0.3s; /* Transition effect when sliding down (and up) */ |
Revision as of 12:26, 6 October 2018