forked from jyotishmancp/Polaris-webdev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
82 lines (73 loc) · 1.07 KB
/
styles.css
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
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
header {
background-color: #2874f0;
color: white;
padding: 15px;
display: flex;
align-items: center;
}
.logoImg {
max-width: 100px;
}
.searchInput {
height: 30px;
width: 300px;
margin-left: 15px;
padding: 10px;
border-radius: 4px;
border: 0;
margin-right: 15px;
}
.loginBtn {
background-color: white;
color: #2874f0;
height: 40px;
margin-right: 40px;
border: 0;
border-radius: 4px;
padding-left: 20px;
padding-right: 20px;
}
.sellerBtn{
color: white;
margin-right: 15px;
text-decoration: none;
}
.searchBox{
position: relative;
}
.searchBox img{
max-width: 20px;
position: absolute;
right: 15px;
top: 15px;
}
.parent {
display: flex;
}
.parent .left {
width: 20%;
height: 500px;
background-color: red;
}
.parent .right {
width: 80%;
display: flex;
flex-wrap: wrap;
}
.productItem{
width: 25%;
}
.productItem img{
width: 200px;
height: 200px;
}
.productItem .title {
display: block;
}
.price .originalPrice{
text-decoration: line-through;
}