|
8 | 8 | </head> |
9 | 9 | <body> |
10 | 10 | <main> |
11 | | - <section class="bg-gray-200 pb-6"> |
| 11 | + <section class="bg-gray-200 pb-6 md:p-12 lg:p-0"> |
12 | 12 | <!--card--> |
13 | | - <div class="pb-6 grid"> |
| 13 | + <div class="pb-6 md:pb-12 lg:pb-0 grid lg:grid-cols-2"> |
14 | 14 | <!--card Image--> |
15 | | - <div class="grid grid-cols-4 py-10 bg-boom-100"> |
| 15 | + <div class="grid grid-cols-4 lg:grid-cols-2 py-10 bg-boom-100 lg:h-full lg:min-h-screen-2/3 xl:min-h-screen"> |
16 | 16 | <img src="./img/boom-headphone-pro-black.jpg" alt="headphone black" /> |
17 | 17 | <img src="./img/boom-headphone-pro-blue.jpg" alt="headphone blue" /> |
18 | 18 | <img src="./img/boom-headphone-pro-red.jpg" alt="headphone red" /> |
19 | 19 | <img src="./img/boom-headphone-pro-white.jpg" alt="headphone white" /> |
20 | 20 | </div> |
21 | 21 | <!--card Copy--> |
22 | | - <div class="bg-white p-12 mx-4 -mt-5 relative rounded"> |
23 | | - <h2 class="text-lg text-red-600 uppercase">Headphone Pro</h2> |
24 | | - <h3 class="text-2xl leading-none mb-2">Music to your ears</h3> |
25 | | - <p class="mb-10">Listen in style! Your everyday headphone in many assorted colours.</p> |
26 | | - <div class="flex justify-center"> |
27 | | - <a class="btn bg-white text-black border-gray-200 mr-2" href="#">Learn More</a> |
28 | | - <a class="btn bg-red-600 text-white border-red-600" href="#">Shop Now</a> |
| 22 | + <div |
| 23 | + class="bg-white p-12 lg:p-20 mx-4 -mt-5 relative rounded lg:mx-0 lg:mt-0 lg:rounded-none lg:flex lg:justify-center lg:items-center" |
| 24 | + > |
| 25 | + <div class="xl:w-9/12"> |
| 26 | + <h2 class="text-lg lg:text-xl xl:text-2xl text-red-600 uppercase">Headphone Pro</h2> |
| 27 | + <h3 class="text-2xl lg:text-4xl xl:text-6xl leading-none mb-2">Music to your ears</h3> |
| 28 | + <p class="mb-10">Listen in style! Your everyday headphone in many assorted colours.</p> |
| 29 | + <div class="flex justify-center lg:justify-start"> |
| 30 | + <a class="btn bg-white text-black border-gray-200 mr-2" href="#">Learn More</a> |
| 31 | + <a class="btn bg-red-600 text-white border-red-600" href="#">Shop Now</a> |
| 32 | + </div> |
29 | 33 | </div> |
30 | 34 | </div> |
31 | 35 | </div> |
32 | 36 |
|
33 | 37 | <!--card--> |
34 | | - <div class="grid"> |
| 38 | + <div class="grid lg:grid-cols-2"> |
35 | 39 | <!--card Image--> |
36 | | - <div> |
37 | | - <img src="./img/boom-wireless-pro.jpg" alt="Pods pro" /> |
| 40 | + <div class="lg:order-last"> |
| 41 | + <img |
| 42 | + class="w-full h-auto lg:h-full lg:min-h-screen-2/3 xl:min-h-screen object-cover" |
| 43 | + src="./img/boom-wireless-pro.jpg" |
| 44 | + alt="Pods pro" |
| 45 | + /> |
38 | 46 | </div> |
39 | 47 | <!--card Copy--> |
40 | | - <div class="bg-white p-12 mx-4 -mt-5 relative rounded"> |
41 | | - <h2 class="text-lg text-red-600 uppercase">Pods Pro</h2> |
42 | | - <h3 class="text-2xl leading-none mb-2">BOOM comes in small package</h3> |
43 | | - <p class="mb-10">Go anywhere and everywhere with your Pods. Listen all day long without worry.</p> |
44 | | - <div class="flex justify-center"> |
45 | | - <a class="btn bg-white text-black border-gray-200 mr-2" href="#">Learn More</a> |
46 | | - <a class="btn bg-red-600 text-white border-red-600" href="#">Shop Now</a> |
| 48 | + <div |
| 49 | + class="bg-white p-12 lg:p-20 mx-4 -mt-5 relative rounded lg:mx-0 lg:mt-0 lg:rounded-none lg:flex lg:justify-center lg:items-center" |
| 50 | + > |
| 51 | + <div class="xl:w-9/12"> |
| 52 | + <h2 class="text-lg lg:text-xl xl:text-2xl text-red-600 uppercase">Pods Pro</h2> |
| 53 | + <h3 class="text-2xl lg:text-4xl xl:text-6xl leading-none mb-2">BOOM comes in small package</h3> |
| 54 | + <p class="mb-10">Go anywhere and everywhere with your Pods. Listen all day long without worry.</p> |
| 55 | + <div class="flex justify-center lg:justify-start"> |
| 56 | + <a class="btn bg-white text-black border-gray-200 mr-2" href="#">Learn More</a> |
| 57 | + <a class="btn bg-red-600 text-white border-red-600" href="#">Shop Now</a> |
| 58 | + </div> |
47 | 59 | </div> |
48 | 60 | </div> |
49 | 61 | </div> |
|
0 commit comments