Skip to content

Commit 5a915d9

Browse files
some bugs fixed
1 parent efc8aba commit 5a915d9

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

style.css

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ body {
6969
padding: 20px 80px;
7070
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
7171
z-index: 999;
72-
position: sticky;
72+
position:fixed;
7373
top: 0;
7474
left: 0;
75+
right: 0;
7576
}
7677

7778
.header-list {
@@ -123,12 +124,12 @@ body {
123124

124125
/* hero section styles */
125126

126-
section#hero {
127+
#hero {
127128
background-image: url(images/hero4.png);
128129
width: 100%;
129-
height: 90vh;
130+
height: 100vh;
130131
background-size: cover;
131-
background-position: top 25% right 0;
132+
background-position: top -80% right 0;
132133
display: flex;
133134
flex-direction: column;
134135
align-items: flex-start;
@@ -138,18 +139,27 @@ section#hero {
138139

139140
#hero h4 {
140141
padding-bottom: 15px;
142+
font-size: 40px;
143+
}
144+
#hero h2{
145+
font-size: 70px;
146+
141147
}
142148
#hero h1 {
143149
color: #088178;
150+
font-size: 70px;
151+
144152
}
145153
#hero button {
146154
background-color: transparent;
147155
background-image: url(images/button.png);
148156
background-repeat: no-repeat;
149157
background-size: cover;
158+
width: 260px;
159+
height: 60px;
150160
border: 0;
151161
cursor: pointer;
152-
font-size: 15px;
162+
font-size: 20px;
153163
font-weight: 700;
154164
color: #088178;
155165
padding: 14px 65px 14px 65px;
@@ -240,6 +250,7 @@ section#hero {
240250
}
241251
.product-section .product-cart h4 {
242252
font-size: 18px;
253+
color: rgb(41, 41, 41);
243254
}
244255
.product-section .product-cart .stars {
245256
color: #e6ae2c;
@@ -443,4 +454,5 @@ span {
443454
#footer .download img{
444455
border: 1px solid #08817969;
445456
border-radius: 7px;
446-
}
457+
}
458+

0 commit comments

Comments
 (0)