Fix full screen repainting correctly
Fix full screen repainting referred in https://github.com/google/material-design-lite/issues/560 correctly.
The commit afab807463
doesn't fix the issue but causes the missing `head.jpg` error in web browser's console.
master
parent
d0bf9a0169
commit
bc040c73ca
|
@ -1,18 +1,10 @@
|
|||
body {
|
||||
background-image: url('images/bg.jpg');
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
/* FIXME: Temp. workaround for vertical scrollbars */
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body::before {
|
||||
background-image: url('/images/head.jpg');
|
||||
background-image: url('images/bg.jpg');
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
content: '';
|
||||
will-change: transform;
|
||||
z-index: 1;
|
||||
z-index: -1;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
|
|
Loading…
Reference in New Issue