-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (97 loc) · 1.53 KB
/
style.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
body{
margin: 0;
font-family:sans-serif;
background:#f2f2f2;
}
h3{
text-align: center;
font-size: 30px;
margin: 0;
padding-top: 10px;
}
a{
text-decoration:none;
}
.gallery{
display: flex;
flex-wrap: wrap;
width: 100%;
justify-content: center;
align-items: center;
margin: 50px 0;
}
.content{
width: 20%;
margin: 15px;
box-sizing: border-box;
float:left;
text-align: center;
border-radius: 20px;
cursor: pointer;
padding-top: 10px;
box-shadow: 0 14px 28px rgba(0,0,0,0,25),
0 10px 10px rgba(0,0,0,0,22);
transition: .4s;
background:#daceed;
}
.content:hover{
box-shadow: 0 3px 6px rgba(0,0,0,0,16),
0 3px 6px rgba(0,0,0,0,23);
transform: translate(0px, -8px);
}
img{
width:200px;
height: 200px;
text-align: center;
margin: 0 auto;
display:block;
}
p{
text-align: center;
color:#5e8ce8;
padding-top: 0 8px;
}
h6{
font-size: 26px;
text-align: center;
color: #222f3e;
margin: 0;
}
span{
font-size: 26px;
transition: .4s;
justigy-content: center;
padding-top: 5px;
align-items: center;
list-style: none;
margin:3px;
}
.rating{
color: #ff9f43;
}
button{
text-align: center;
font-size: 24px;
color: #272626;
width: 100%;
padding: 15px;
border: 0;
outline: none;
cursor:pointer;
margin-top: 5px;
border-bottom-right-radius: 20px;
border-bottom-left-radius: 20px;
}
.buy{
background-color: #F0C4B9;
}
@media(max-width: 1000px){
.content{
width: 45%;
}
}
@media(max-width:750px){
.content{
width: 100%;
}
}