-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct.css
66 lines (63 loc) · 1.37 KB
/
product.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
#container{
display: grid;
grid-template-columns: repeat(3,1fr);
text-align: center;
margin-top: 60px;
margin-left: 30px;
}
#container>div{
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
margin-right: 20px;
margin-bottom: 20px;
}
p{
text-align: center;
font-weight: bold;
}
#container button{
font-size: larger;
background-color:#108473 ;
color: white;
border: none;
padding: 10px;
border-radius: 10px;
}
#container img{
height:300px;
width:200px;
margin-top: 15px;
}
#container>div:hover{
box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}
#container button:hover{
background-color:black;
color:white;
}
h1{
text-align: center;
color: #108473;
}
h1+button{
margin-left: 46%;
padding:15px;
background-color: black;
color: white;
font-size: large;
border-radius: 10px;
border: none;
}
button:hover{
background-color:orangered;
color: white;
}
@media all and (min-width:320px) and (max-width:650px){
#container{
grid-template-columns: repeat(2,1fr);
}
}
@media all and (min-width:650px) and (max-width:1020px){
#container{
grid-template-columns: repeat(3,1fr);
}
}