Skip to content

Commit 763bec2

Browse files
committedJan 13, 2024
background img on background
1 parent c1edb41 commit 763bec2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
 

‎css/css.css

+5-3
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,11 @@
178178
z-index:-2;
179179
}
180180
.cd-fixed-bg.cd-bg-1 {
181-
display: flex;
182-
align-items: center;
183-
justify-content: center;
181+
background-color: white;
182+
background-image: url(../images/warm_apple.png);
183+
background-size: auto;
184+
background-repeat: no-repeat;
185+
background-position: center;
184186
}
185187
.cd-fixed-bg.cd-bg-2 {
186188
background-image: url("../images/background-2.JPG");

‎index.html

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ <h1 class="site-logo"><a href="welcome"><img src="images/2uu_bite_logo.png"></a>
3535
</header>
3636

3737
<div class="cd-fixed-bg cd-bg-1">
38-
<img src="images/warm_apple.png"/>
3938
</div>
4039

4140
<div class="cd-fixed-bg cd-bg-2 relative">

0 commit comments

Comments
 (0)
Please sign in to comment.