Skip to content

Commit

Permalink
style(background): modify bg-image name
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang Li committed Jul 23, 2024
1 parent 0a091d0 commit 6476c02
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,20 @@ body {
width: 100vw;
height: 100vh;
background-size: cover;
background: url("/images/bg/macos-01-1920*1080.jpg") no-repeat fixed;
background: url("/images/bg/macos-01-1920x1080.jpg") no-repeat fixed;
}

@media only screen and (min-width: 2560px) and (max-width: 3840px){
@media only screen and (min-width: 2560px) and (max-width: 3840px) {
body {
background-image: url("/images/bg/macos-01-2560*1440.jpg")
background-image: url("/images/bg/macos-01-2560x1440.jpg");
}
}

@media only screen and (min-width: 3840px){
@media only screen and (min-width: 3840px) {
body {
background-image: url("/images/bg/macos-01-3840*2160.jpg")
background-image: url("/images/bg/macos-01-3840x2160.jpg");
}
}


.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
Expand Down

0 comments on commit 6476c02

Please sign in to comment.