-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcollection.css
More file actions
113 lines (96 loc) · 1.86 KB
/
collection.css
File metadata and controls
113 lines (96 loc) · 1.86 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
body {
font-family: 'Lato', sans-serif;
margin: 0;
padding: 0;
background-color: #eaeaea;
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #222;
padding: 15px 30px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.nav-part-1 img {
height: 50px;
}
.nav-part-1 ul {
list-style: none;
display: flex;
gap: 30px;
}
.nav-part-1 ul li {
display: inline;
}
.nav-part-1 ul li a {
text-decoration: none;
color: #fff;
font-weight: bold;
font-size: 18px;
transition: color 0.3s;
}
.nav-part-1 ul li a:hover {
color: #ff6347;
}
.nav-part-2 i {
font-size: 24px;
margin-left: 30px;
color: #fff;
cursor: pointer;
transition: color 0.3s;
}
.nav-part-2 i:hover {
color: #ff6347;
}
.content {
padding: 40px 20px;
text-align: center;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin: 20px;
border-radius: 10px;
}
.content h1 {
margin-bottom: 30px;
font-size: 3em;
color: #222;
}
.products {
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: center;
}
.product {
background-color: #fff;
padding: 25px;
border-radius: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 220px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.product:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.product img {
width: 100%;
height: auto;
border-radius: 15px;
}
.product h4 {
margin: 15px 0;
font-size: 1.4em;
color: #222;
}
.product p {
margin: 8px 0;
color: #555;
}
.product .price {
font-weight: bold;
color: #222;
font-size: 1.2em;
}