From 7383bf4db923484bff3a5fede548822e5b0bdfda Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 6 Oct 2023 22:28:46 +0800 Subject: predifine color when image not loaded, when image is loaded, will override --- src/css/ghrepo.css | 1 + src/css/index.css | 1 + 2 files changed, 2 insertions(+) (limited to 'src/css') diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css index 7f47c825..0caa1da0 100644 --- a/src/css/ghrepo.css +++ b/src/css/ghrepo.css @@ -34,6 +34,7 @@ body { margin: 0; margin-top: (3em); font-family: 'Open Sans', sans-serif; + background-color: rgb(0, 0, 255); background-image: url(/images/heigh-grass.jpg); background-position: center; background-repeat: no-repeat; diff --git a/src/css/index.css b/src/css/index.css index d55c7c86..27ead94c 100644 --- a/src/css/index.css +++ b/src/css/index.css @@ -23,6 +23,7 @@ padding: 0; width: 100%; height: 100%; + background-color: rgb(0, 0, 255); background-image: url(/images/backgroundNightCity.jpg); background-position: center; background-repeat: no-repeat; -- cgit v1.2.3