summaryrefslogtreecommitdiff
path: root/src/css
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-11-02 13:21:25 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-11-02 13:21:25 +0800
commitb9f52bd2fc436a8260ccab591319526ff94bb90d (patch)
treecfe6667852aa6d9c455a13d3bd491c091198c9e3 /src/css
parentc4a5f9d548253d1ae1309b7b1ed46d33b6c47aad (diff)
fixed image not loading as expecting
Diffstat (limited to 'src/css')
-rw-r--r--src/css/ghrepo.css3
-rw-r--r--src/css/index.css3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css
index 38a4af18..ea104d8c 100644
--- a/src/css/ghrepo.css
+++ b/src/css/ghrepo.css
@@ -52,8 +52,7 @@ margin-top: 3em
width: 100%;
height: 100%;
background-color: rgb(48, 60, 100);
- background-image: url(/images/heigh-grass.webp);
- background-image: url(/images/heigh-grass.jpg);
+ background-image: url(/images/heigh-grass.jpg), url(/images/heigh-grass.webp);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
diff --git a/src/css/index.css b/src/css/index.css
index 9c741ad3..f1e29f41 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -25,8 +25,7 @@
width: 100%;
height: 100%;
background-color: rgb(20, 53, 85);
- background-image: url(/images/backgroundNightCity.webp);
- background-image: url(/images/backgroundNightCity.jpg);
+ background-image: url(/images/backgroundNightCity.jpg) ,url(/images/backgroundNightCity.webp);
background-position: center;
background-repeat: no-repeat;
background-size: cover;