Skip to content

Commit ee0f523

Browse files
committed
add retina image
1 parent f427396 commit ee0f523

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

hw09/css/styles.css

+11
Original file line numberDiff line numberDiff line change
@@ -253,3 +253,14 @@ header {
253253
margin-bottom: 72px;
254254
}
255255
}
256+
257+
/*RETINA*/
258+
@media (min-resolution: 192dpi), (min-resolution: 2dppx) {
259+
.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);
265+
}
266+
}

hw09/img/people-desktop.png

1.05 MB
Loading

hw09/img/[email protected]

692 KB
Loading

0 commit comments

Comments
 (0)