File tree Expand file tree Collapse file tree 3 files changed +12
-26
lines changed
95-headphones product page Expand file tree Collapse file tree 3 files changed +12
-26
lines changed Original file line number Diff line number Diff line change @@ -61,24 +61,12 @@ <h2>People Aren't Hearing All the Music</h2>
61
61
<!-- Gallery -->
62
62
<section class="section-gallery">
63
63
<div class="gallery">
64
- <a href="https://i.ibb.co/CHLBZnp/gal2323.jpg" class="big"
65
- ><img src="https://i.ibb.co/CHLBZnp/gal2323.jpg" alt=""
66
- /></a>
67
- <a href="https://i.ibb.co/4pBbhfY/gal39834.jpg" class="big"
68
- ><img src="https://i.ibb.co/4pBbhfY/gal39834.jpg" alt=""
69
- /></a>
70
- <a href="https://i.ibb.co/xSnHP7g/gal43884.jpg" class="big"
71
- ><img src="https://i.ibb.co/xSnHP7g/gal43884.jpg" alt=""
72
- /></a>
73
- <a href="https://i.ibb.co/QN6Bnrb/gal4958.jpg" class="big"
74
- ><img src="https://i.ibb.co/QN6Bnrb/gal4958.jpg" alt=""
75
- /></a>
76
- <a href="https://i.ibb.co/dGZvj75/gal4545.jpg" class="big">
77
- <img src="https://i.ibb.co/dGZvj75/gal4545.jpg" alt=""
78
- /></a>
79
- <a href="https://i.ibb.co/S6FVFNt/gal74744.jpg" class="big"
80
- ><img src="https://i.ibb.co/S6FVFNt/gal74744.jpg" alt=""
81
- /></a>
64
+ <img src="https://i.ibb.co/CHLBZnp/gal2323.jpg" alt="" class="big" />
65
+ <img src="https://i.ibb.co/4pBbhfY/gal39834.jpg" alt="" class="big" />
66
+ <img src="https://i.ibb.co/xSnHP7g/gal43884.jpg" alt="" class="big" />
67
+ <img src="https://i.ibb.co/QN6Bnrb/gal4958.jpg" alt="" class="big" />
68
+ <img src="https://i.ibb.co/dGZvj75/gal4545.jpg" alt="" class="big" />
69
+ <img src="https://i.ibb.co/S6FVFNt/gal74744.jpg" alt="" class="big" />
82
70
</div>
83
71
</section>
84
72
@@ -136,7 +124,6 @@ <h3>Subscribe</h3>
136
124
</div>
137
125
</div>
138
126
</footer>
139
-
140
127
<script src="script.js"></script>
141
128
</body>
142
129
</html>
Original file line number Diff line number Diff line change @@ -168,18 +168,17 @@ img {
168
168
grid-template-columns: repeat(5, 1fr);
169
169
}
170
170
171
- .section-gallery .gallery a :first-child {
171
+ .section-gallery .gallery img :first-child {
172
172
grid-row: 1/3;
173
173
grid-column: 1/3;
174
174
}
175
175
176
- .section-gallery .gallery a :nth-child(2) {
176
+ .section-gallery .gallery img :nth-child(2) {
177
177
grid-column-start: 3;
178
178
grid-column-end: 5;
179
179
}
180
180
181
- .section-gallery .gallery img,
182
- .section-gallery .gallery a {
181
+ .section-gallery .gallery img {
183
182
width: 100%;
184
183
height: 100%;
185
184
}
@@ -301,17 +300,17 @@ img {
301
300
grid-template-columns: repeat(3, 1fr);
302
301
}
303
302
304
- .section-gallery .gallery a :first-child {
303
+ .section-gallery .gallery img :first-child {
305
304
grid-row: 1/1;
306
305
grid-column: 1/1;
307
306
}
308
307
309
- .section-gallery .gallery a :nth-child(2) {
308
+ .section-gallery .gallery img :nth-child(2) {
310
309
grid-row: 2/2;
311
310
grid-column: 2/4;
312
311
}
313
312
314
- .section-gallery .gallery a :last-child {
313
+ .section-gallery .gallery img :last-child {
315
314
display: none;
316
315
}
317
316
You can’t perform that action at this time.
0 commit comments