Skip to content

Commit 7fbeb49

Browse files
committed
07-CSS Grids
1 parent afc8e6a commit 7fbeb49

File tree

6 files changed

+746
-32
lines changed

6 files changed

+746
-32
lines changed

public/card.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
<main>
1111
<section class="bg-gray-200 pb-6">
1212
<!--card-->
13-
<div class="pb-6">
13+
<div class="pb-6 grid">
1414
<!--card Image-->
15-
<div>
15+
<div class="grid grid-cols-4 py-10 bg-boom-100">
1616
<img src="./img/boom-headphone-pro-black.jpg" alt="headphone black" />
17+
<img src="./img/boom-headphone-pro-blue.jpg" alt="headphone blue" />
18+
<img src="./img/boom-headphone-pro-red.jpg" alt="headphone red" />
19+
<img src="./img/boom-headphone-pro-white.jpg" alt="headphone white" />
1720
</div>
1821
<!--card Copy-->
1922
<div class="bg-white p-12 mx-4 -mt-5 relative rounded">
@@ -28,7 +31,7 @@ <h3 class="text-2xl leading-none mb-2">Music to your ears</h3>
2831
</div>
2932

3033
<!--card-->
31-
<div>
34+
<div class="grid">
3235
<!--card Image-->
3336
<div>
3437
<img src="./img/boom-wireless-pro.jpg" alt="Pods pro" />

0 commit comments

Comments
 (0)