Skip to content

Commit

Permalink
style: try to fix background image size bug in mobile safari
Browse files Browse the repository at this point in the history
  • Loading branch information
darkyzhou committed Jan 1, 2022
1 parent 72076c0 commit 604712f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
}
@media not all and (min-resolution: 0.001dpcm) {
body {
background: url('/images/uploads/background-bloghouse-opt.jpg') fixed 50% / cover
no-repeat #121619;
background: url('/images/uploads/background-bloghouse-opt.jpg') fixed 50% / cover repeat-y
#121619;
}
}
body {
background: url('/images/uploads/background-bloghouse-opt.webp') fixed 50% / cover no-repeat
background: url('/images/uploads/background-bloghouse-opt.webp') fixed 50% / cover repeat-y
#121619;
}
</style>
Expand Down

0 comments on commit 604712f

Please sign in to comment.