1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-09-09 05:30:47 +02:00

Added sticky positioning for header elements, resolves #24

This commit is contained in:
Angelos Chalaris
2017-01-07 14:45:39 +02:00
parent c9c2494656
commit 87a56c800a
6 changed files with 56 additions and 12 deletions

View File

@@ -650,6 +650,12 @@ header {
header .logo, header a.button {
text-decoration: none; }
header.sticky {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 1101; }
nav {
display: block;
background: #eceff1;