Skip to content

Commit f60b4c8

Browse files
Added title images versions for portrait mode for high pixel ratio devices.
1 parent 673668e commit f60b4c8

File tree

6 files changed

+10
-0
lines changed

6 files changed

+10
-0
lines changed

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,21 @@
3939
<div class="navigation__content container-fluid" data-image-type="responsive">
4040
<img class="responsive" src="static/images/title_photo/title_glass_building_960x540.jpg"
4141
srcset="static/images/title_photo/title_glass_building_480x270.jpg 480w,
42+
static/images/title_photo/title_glass_building_750x1334.jpg 750w,
4243
static/images/title_photo/title_glass_building_960x540.jpg 960w,
44+
static/images/title_photo/title_glass_building_1080x1920.jpg 1080w,
45+
static/images/title_photo/title_glass_building_1125x2436.jpg 1125w,
46+
static/images/title_photo/title_glass_building_1242x2436.jpg 1242w,
47+
static/images/title_photo/title_glass_building_1442x2562.jpg 1442w,
4348
static/images/title_photo/title_glass_building_1920x1080.jpg 1920w,
4449
static/images/title_photo/title_glass_building_3840x2160.jpg 3840w"
4550
sizes="(max-width: 480px) 100vw,
51+
(max-width: 750px) 100vw,
4652
(max-width: 960px) 100vw,
53+
(max-width: 1080px) 100vw,
54+
(max-width: 1125px) 100vw,
55+
(max-width: 1242px) 100vw,
56+
(max-width: 1442px) 100vw,
4757
(max-width: 1920px) 100vw,
4858
(min-width: 2300px) 100vw"
4959
alt="Python Sprints Title Image">
166 KB
Loading
264 KB
Loading
203 KB
Loading
239 KB
Loading
107 KB
Loading

0 commit comments

Comments
 (0)