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