We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118f887 commit 4357d4cCopy full SHA for 4357d4c
images/Hero_Desktop.webp
184 KB
images/Hero_Mobile.webp
62.3 KB
images/Hero_Tablet.webp
120 KB
index.html
@@ -81,9 +81,26 @@
81
</header>
82
83
<section class="hero">
84
- <img class="desktop" src="images/Hero_Desktop.jpg" />
85
- <img class="mobile" src="images/Hero_Mobile.jpg" />
86
- <img class="tablet" src="images/Hero_Tablet.jpg" />
+ <picture>
+ <source
+ width="576"
87
+ height="576"
88
+ media="(max-width: 575px)"
89
+ srcset="images/Hero_Mobile.webp"
90
+ />
91
92
+ width="960"
93
+ height="770"
94
+ media="(min-width: 576px) and (max-width: 960px)"
95
+ srcset="images/Hero_Tablet.webp"
96
97
+ <img
98
+ width="1920"
99
+ height="893"
100
+ src="images/Hero_Desktop.webp"
101
+ alt="Hero_Desktop_Img"
102
103
+ </picture>
104
105
<div class="hero-content">
106
<div class="container">
0 commit comments