-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcategory.css
101 lines (84 loc) · 1.57 KB
/
category.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#container {
display: grid;
width: 70%;
margin: auto;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: auto;
gap: 10px;
}
a{
/* display:flex; */
/* border: 1px solid black; */
text-decoration: none;
color: black;
}
#container>div {
box-shadow: rgba(19, 12, 46, 0.15) 0px 48px 100px 0px;
position: relative;
width: 100%;
}
#container>div:hover{
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#container>div>a>img {
width: 100%;
height: 60%;
}
#topimage{
border: 0px solid black;
height: 250px;
width: 70%;
margin: auto;
margin-bottom: 20px;
}
#topimage>img{
width: 100%;
height: 100%;
}
#sub{
margin: auto;
display: flex;
width: 90%;
justify-content: space-between;
border: 0px solid red;
position: absolute;
bottom: 18px;
left: 10px;
height: 30px;
}
#sub>button{
border-radius: 7px;
border: 0px;
font-size: 15px;
}
#sub>button:hover{
background-color: orangered;
color: white;
}
#price{
margin-left: 250px;
height: 30px;
width: 150px;
font-size: 15px;
border: 0px;
margin-bottom: 20px;
box-shadow: rgba(19, 12, 46, 0.15) 0px 48px 100px 0px;
}
h1 {
text-align: center;
}
#container>div>h4 {
font-family: "Open Sans", sans-serif !important;
font-weight: normal;
font-size: 12px;
margin-left: 10px;
}
#container>div>p {
font-family: "Open Sans", sans-serif !important;
margin-left: 10px;
}
#container>div>button {
position: absolute;
bottom: 15px;
left: 10px;
}