Skip to content

Commit

Permalink
Bg mobile fix attempt #2
Browse files Browse the repository at this point in the history
  • Loading branch information
hakuzumon committed Aug 8, 2024
1 parent 6e4f47e commit 4fd4ce2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/app.css
Original file line number Diff line number Diff line change
@@ -32,10 +32,20 @@ a.active {
text-shadow: 0 0 2px black;
}

.bg1::before {
content: "";
background-image: url("/img/stock/bg_code.jpg");
background-size: cover;
position: fixed;
top: 0;
left: 0;
z-index: -1;
width: 100lvw;
height: 100lvh;
}

.bg1 {
padding-top: 3.5rem;
background: url("/img/stock/bg_code.jpg") fixed;
background-size: cover;
min-height: 100lvh;
}

0 comments on commit 4fd4ce2

Please sign in to comment.