Repository navigation
Expand file tree
/
Copy pathtest.css
More file actions
173 lines (147 loc) · 2.39 KB
/
Copy pathtest.css
File metadata and controls
173 lines (147 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
nav {
width: 100%;
height: 80px;
background: linear-gradient(120deg, #92f3ce, #d9956b);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 80px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
#logo h2 {
color: white;
font-size: 30px;
letter-spacing: 2px;
}
#menu {
display: flex;
gap: 40px;
}
#menu p {
display: flex;
align-items: center;
}
a {
text-decoration: none;
color: white;
font-weight: 500;
transition: 0.3s;
}
a:hover {
color: #ffd700;
transform: translateY(-2px);
}
#banner {
width: 90%;
margin: 60px auto;
display: flex;
justify-content: space-between;
align-items: center;
gap: 40px;
}
#banner > div {
width: 50%;
}
#child1 {
text-align: left;
}
#child1 h1 {
font-size: 55px;
line-height: 1.2;
margin-bottom: 20px;
}
#child1 h1 span {
color: #0f766e;
}
#child1 p {
line-height: 1.8;
color: #666;
}
#child2 img {
width: 100%;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
transition: 0.4s;
}
#child2 img:hover {
transform: scale(1.05);
cursor: pointer;
}
#grid {
width: 90%;
margin: 80px auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
}
#grid div {
background: white;
padding: 25px;
border-radius: 15px;
box-shadow:
rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
transition: 0.4s;
display: flex;
justify-content: center;
align-items: center;
}
#grid div:hover {
transform: translateY(-10px);
}
#grid img {
width: 100%;
height: 180px;
object-fit: contain;
}
#price {
width: 90%;
margin: 80px auto;
display: flex;
justify-content: space-between;
gap: 30px;
}
#price > div {
background: white;
width: 32%;
padding: 40px 30px;
border-radius: 20px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: 0.4s;
}
#price > div:hover {
transform: translateY(-10px);
}
#price h2 {
font-size: 30px;
margin-bottom: 20px;
}
#price p {
color: #666;
margin-bottom: 20px;
}
#price h3 {
font-size: 40px;
color: teal;
margin-bottom: 25px;
}
button {
border: none;
padding: 14px 30px;
background: teal;
color: white;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
}
button:hover {
background: yellow;
padding: 20px;
}