Skip to content

Commit d9bb336

Browse files
off banner done
1 parent cc94812 commit d9bb336

2 files changed

Lines changed: 47 additions & 1 deletion

File tree

index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,13 @@ <h4 class="price">$78</h4>
192192
</div>
193193
</div>
194194
</section>
195+
196+
<section id="off-banner">
197+
<h4>Repaire Services</h4>
198+
<h2>Up to 70% Off - All t-Shirts & Accessories</h2>
199+
<button class="normal">Explore More</button>
200+
</section>
201+
195202
</main>
196203

197204
<!--footer section-->

style.css

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@ p {
3838
.section-m1 {
3939
margin: 40px 0;
4040
}
41+
42+
button.normal{
43+
font-size: 14px;
44+
font-weight: 600px;
45+
padding:15px 30px;
46+
color:#000;
47+
background-color: #fff;
48+
border-radius: 4px;
49+
cursor:pointer;
50+
border:none;
51+
outline: none;
52+
transition: 0.2s;
53+
}
54+
button.normal:hover{
55+
background-color: #088178;
56+
color: #fff;
57+
}
4158
body {
4259
width: 100%;
4360
}
@@ -188,6 +205,7 @@ section#hero {
188205
}
189206

190207
/* feature section styles */
208+
191209
#f-products .pro-collection{
192210
display: flex;
193211
flex-wrap: wrap;
@@ -240,4 +258,25 @@ section#hero {
240258
position: absolute;
241259
right: 10px;
242260
bottom: 10px;
243-
}
261+
}
262+
263+
/* off banner section styles */
264+
265+
#off-banner{
266+
background-image: url(images/banner/b2.jpg);
267+
background-size:cover;
268+
width: 100%;
269+
height: 40vh;
270+
display: flex;
271+
align-items: center;
272+
justify-content: center;
273+
flex-direction: column;
274+
}
275+
#off-banner h4{
276+
color: #eaebf0;
277+
}
278+
#off-banner h2{
279+
color: #eaebf0;
280+
padding: 20px 0;
281+
}
282+

0 commit comments

Comments
 (0)