Skip to content

Commit 82ea4fc

Browse files
committed
change background image format
1 parent ee0f523 commit 82ea4fc

File tree

6 files changed

+5
-12
lines changed

6 files changed

+5
-12
lines changed

hw08/css/styles.css

+1-5
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,6 @@ header {
331331
/*RETINA*/
332332
@media (min-resolution: 192dpi), (min-resolution: 2dppx) {
333333
.header-back {
334-
background-image: linear-gradient(
335-
to right,
336-
rgba(26, 25, 21, 0.3),
337-
rgba(26, 25, 21, 0.3)
338-
), url(../img/people@2x.jpg);
334+
background-image: url(../img/people@2x.png);
339335
}
340336
}

hw08/img/[email protected]

-692 KB
Binary file not shown.

hw08/img/[email protected]

1.17 MB
Loading

hw09/css/styles.css

+4-7
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,10 @@ header {
246246

247247
/* DESKTOP */
248248
@media (min-width: 1440px) {
249-
.header-back{
250-
background-image: url(../img/people-desktop.png);
249+
.header-back {
250+
background-image: url(../img/people-desktop.png);
251251
}
252+
252253
.footer-button {
253254
margin-bottom: 72px;
254255
}
@@ -257,10 +258,6 @@ header {
257258
/*RETINA*/
258259
@media (min-resolution: 192dpi), (min-resolution: 2dppx) {
259260
.header-back {
260-
background-image: linear-gradient(
261-
to right,
262-
rgba(26, 25, 21, 0.3),
263-
rgba(26, 25, 21, 0.3)
264-
), url(../img/people@2x.jpg);
261+
background-image: url(../img/people@2x.png);
265262
}
266263
}

hw09/img/[email protected]

-692 KB
Binary file not shown.

hw09/img/[email protected]

1.17 MB
Loading

0 commit comments

Comments
 (0)