Skip to content

Commit 604a9f9

Browse files
banners section done
1 parent 12a4009 commit 604a9f9

2 files changed

Lines changed: 130 additions & 22 deletions

File tree

index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,37 @@ <h4 class="price">$78</h4>
317317
</div>
318318
</div>
319319
</section>
320+
321+
<section id="banners" class="section-p1">
322+
<div class="big-banners">
323+
<div class="big-banners-1">
324+
<h4>crazy deals</h4>
325+
<h2>buy 1 get 1 free</h2>
326+
<span>The best classic dress is on sale at coro</span>
327+
<button class="banner-btn">Learn More</button>
328+
</div>
329+
<div class="big-banners-2">
330+
<h4>spring/summer</h4>
331+
<h2>upcomming season</h2>
332+
<span>The best classic dress is on sale at cara</span>
333+
<button class="banner-btn">Collection</button>
334+
</div>
335+
</div>
336+
<div class="small-banners">
337+
<div class="small-banners-1">
338+
<h2>SEASONAL SALE</h2>
339+
<h5>Winter Collection 50% Off</h5>
340+
</div>
341+
<div class="small-banners-2">
342+
<h2>NEW FOOTWEAR COLLECTION</h2>
343+
<h5>Spring/Summer 2022</h5>
344+
</div>
345+
<div class="small-banners-3">
346+
<h2>T-SHIRTS</h2>
347+
<h5>New Trendy Prints</h4>
348+
</div>
349+
</div>
350+
</section>
320351
</main>
321352

322353
<!--footer section-->

style.css

Lines changed: 99 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ p {
3939
margin: 40px 0;
4040
}
4141

42-
button.normal{
42+
button.normal {
4343
font-size: 14px;
4444
font-weight: 600px;
45-
padding:15px 30px;
46-
color:#000;
45+
padding: 15px 30px;
46+
color: #000;
4747
background-color: #fff;
4848
border-radius: 4px;
49-
cursor:pointer;
50-
border:none;
49+
cursor: pointer;
50+
border: none;
5151
outline: none;
5252
transition: 0.2s;
5353
}
54-
button.normal:hover{
54+
button.normal:hover {
5555
background-color: #088178;
5656
color: #fff;
5757
}
@@ -206,16 +206,17 @@ section#hero {
206206

207207
/* feature section styles */
208208

209-
.product-section .pro-collection{
209+
.product-section .pro-collection {
210210
display: flex;
211211
flex-wrap: wrap;
212212
justify-content: space-around;
213213
margin: 0 60px;
214214
}
215-
.product-section h1, .product-section p{
215+
.product-section h1,
216+
.product-section p {
216217
text-align: center;
217218
}
218-
.product-section .product-cart{
219+
.product-section .product-cart {
219220
width: 280px;
220221
border: 1px solid #ebebeb;
221222
padding: 13px;
@@ -225,32 +226,30 @@ section#hero {
225226
box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
226227
transition: box-shadow 0.2s;
227228
}
228-
.product-section .product-cart:hover{
229+
.product-section .product-cart:hover {
229230
box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
230-
231231
}
232-
.product-section .product-cart img{
232+
.product-section .product-cart img {
233233
width: 100%;
234234
border-radius: 25px;
235-
236235
}
237-
.product-section .product-cart span{
236+
.product-section .product-cart span {
238237
color: #969696;
239238
font-weight: 500;
240239
line-height: 30px;
241240
}
242-
.product-section .product-cart h4{
241+
.product-section .product-cart h4 {
243242
font-size: 18px;
244243
}
245-
.product-section .product-cart .stars{
244+
.product-section .product-cart .stars {
246245
color: #e6ae2c;
247246
padding: 6px 0;
248247
}
249-
.product-section .product-cart .price{
248+
.product-section .product-cart .price {
250249
color: #088178;
251250
padding: 4px 0;
252251
}
253-
.product-section .product-cart .buy-icon{
252+
.product-section .product-cart .buy-icon {
254253
color: #088178;
255254
background-color: #c7e9e75e;
256255
padding: 15px;
@@ -262,20 +261,20 @@ section#hero {
262261

263262
/* off banner section styles */
264263

265-
#off-banner{
264+
#off-banner {
266265
background-image: url(images/banner/b2.jpg);
267-
background-size:cover;
266+
background-size: cover;
268267
width: 100%;
269268
height: 40vh;
270269
display: flex;
271270
align-items: center;
272271
justify-content: center;
273272
flex-direction: column;
274273
}
275-
#off-banner h4{
274+
#off-banner h4 {
276275
color: #eaebf0;
277276
}
278-
#off-banner h2{
277+
#off-banner h2 {
279278
color: #eaebf0;
280279
padding: 20px 0;
281280
}
@@ -285,3 +284,81 @@ section#hero {
285284
in featured products section
286285
*/
287286

287+
/* banners section styles */
288+
#banners {
289+
margin: 0 60px;
290+
}
291+
#banners h2,
292+
h4,
293+
span {
294+
color: rgb(248, 248, 248);
295+
}
296+
#banners .big-banners {
297+
display: flex;
298+
align-items: center;
299+
justify-content: center;
300+
}
301+
#banners .big-banners div {
302+
min-width: 580px;
303+
margin: 15px;
304+
height: 300px;
305+
display: flex;
306+
flex-direction: column;
307+
align-items: flex-start;
308+
justify-content: center;
309+
padding: 25px;
310+
background-size: cover;
311+
backdrop-filter:blur(8%);
312+
}
313+
#banners .big-banners button {
314+
margin-top: 20px;
315+
padding: 12px 20px;
316+
font-size: 16px;
317+
font-weight: 500;
318+
background-color: transparent;
319+
color: rgb(248, 248, 248);
320+
border: 1px solid rgb(248, 248, 248);
321+
cursor: pointer;
322+
transition: 0.3s ease;
323+
}
324+
#banners .big-banners div:hover button {
325+
background-color: #088178;
326+
border: 1px solid #088178;
327+
}
328+
#banners .big-banners-1 {
329+
background-image: url(images/banner/b17.jpg);
330+
}
331+
#banners .big-banners-2 {
332+
background-image: url(images/banner/b10.jpg);
333+
}
334+
#banners .small-banners-1 {
335+
background-image: url(images/banner/b7.jpg);
336+
}
337+
#banners .small-banners-2 {
338+
background-image: url(images/banner/b4.jpg);
339+
}
340+
#banners .small-banners-3 {
341+
background-image: url(images/banner/b18.jpg);
342+
}
343+
#banners .small-banners {
344+
display: flex;
345+
align-items: center;
346+
justify-content: center;
347+
}
348+
#banners .small-banners div {
349+
min-width: 370px;
350+
height: 200px;
351+
margin: 15px;
352+
display: flex;
353+
flex-direction: column;
354+
align-items: flex-start;
355+
justify-content: center;
356+
padding: 25px;
357+
background-size: cover;
358+
}
359+
#banners .small-banners h2{
360+
font-size: 25px;
361+
}
362+
#banners .small-banners h5{
363+
color: #771818;
364+
}

0 commit comments

Comments
 (0)