-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
58 lines (49 loc) · 871 Bytes
/
style.css
File metadata and controls
58 lines (49 loc) · 871 Bytes
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: white;
text-align: center;
padding: 1rem 0;
}
main {
display: flex;
justify-content: space-between;
padding: 2rem;
}
.products {
flex: 1;
margin-right: 2rem;
}
.product-card {
border: 1px solid #ccc;
padding: 1rem;
margin-bottom: 1rem;
}
.cart {
flex: 1;
background-color: #f4f4f4;
padding: 1rem;
border-radius: 5px;
}
#cart-items {
list-style: none;
padding: 0;
}
#cart-items li {
margin-bottom: 0.5rem;
}
#checkout-btn {
background-color: #333;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
}
#checkout-btn:hover {
background-color: #555;
}