Fix the header to window top.
This commit is contained in:
parent
03b33463c1
commit
9086ca0698
12
photos.scss
12
photos.scss
@ -1,11 +1,19 @@
|
||||
body {
|
||||
background: #eee;
|
||||
background: #eee;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
header {
|
||||
border-bottom: 1px solid #aaa;
|
||||
background-color: #eee;
|
||||
box-shadow: 0 0 1ex #444;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
left: 0;
|
||||
padding: 0 1ex;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
width: -moz-available;
|
||||
|
||||
& > span {
|
||||
flex-grow: 1;
|
||||
|
Loading…
Reference in New Issue
Block a user